These macros can be used, for example, to determine the date (or time) of template executing (or saving).
This macro allows you to determine the current date and time according to the system time.
Example
Macro {-TimeNow.TimeNow-}
Result 2011-03-29 18-16-28--822 |
This macro determines milliseconds at the current moment of the time according to the system time
Example
Macro {-TimeNow.Millisecond-}
Result 413 |
This macro determines seconds at the current moment of the time according to the system time.
Example
Macro {-TimeNow.Second-}
Result 11 |
This macro determines minutes at the current moment of the time according to the system time.
Example
Macro {-TimeNow.Minute-}
Result 32 |
This macro determines hours at the current moment of the time according to the system time
Example
Macro {-TimeNow.Hour-}
Result 20 |
This macro determines the current day of week according to the system time
Example
Macro {-TimeNow.DayOfWeek-}
Result Tuesday |
This macro determines the current day and time according to the system time
Example
Macro {-TimeNow.Date-}
Result 29.03.2011 18:22:43 |
This macro determines the serial number of the current month according to the system time.
Example
Macro {-TimeNow.Month-}
Result 9 |
This macro determines the current year according to the system time.
Example
Macro {-TimeNow.Year-}
Result 2011 |