%META:TOPICINFO{author="TWikiContributor" date="1436849096" format="1.1" version="$Rev$"}%
%META:TOPICPARENT{name="TWikiVariables"}%
#VarDATETIME
---+++ DATETIME{"format"} -- date and time formatting and calculation
   * Calculate date and time in the past or future, and format date and time. This variable is handled by the DateTimePlugin.
   * Syntax: =%<nop>DATETIME{"format"}%=
   * Examples:
      * =%<nop>DATETIME{"$wday"}%= returns the current weekday
      * =%<nop>DATETIME{"$year-$mo-$day" incdays="-7"}%= returns the date of a week ago
      * =%<nop>DATETIME{"$hour:$min" timezone="America/New_York"}%= returns the current time in the time zone of New York, US
   * Category: DateAndTimeVariables, TablesAndSpreadsheetsVariables
   * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarCALCULATE][CALCULATE]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarGMTIME][GMTIME]], DateTimePlugin
