# Macro Reference - Time And Date

Below is a list of Time and Date macros. Notice that most return values are two-digits long.

The full list of macros can be found here.

Macro | Description
--- | ---
@MSEC | Milliseconds value of clock. Range is 000 to 999. The update frequency of this value depends on the timer resolution of the hardware and may not update every millisecond.
@SEC | Seconds value of clock. Range is 00 to 59
@MIN | Minutes value of clock. Range is 00 to 59
@HOUR | Hours value of clock in 24-hour format. Range is 00 to 23
@MDAY | Current day of month. Range is 01 to 31
@MON | Current month. Range is 01 to 12
@YEAR | Current four-digit year
@WDAY | Numeric day of week. Range is 1 to 7 which corresponds to Sunday through Saturday.
@YDAY | Current day of year. Range is 001 to 366 (or 001 to 365 if not a leap year)