| Code In Use | CODE | PURPOSE OF CODE |
| Sat Jul 5 09:07:05 2008 | DATE_GMT | The current GMT (Greenwich, UK) <!--#echo var="DATE_GMT" --> can be formatted using #config |
| Sat Jul 5 05:07:05 2008 | DATE_LOCAL | current time/date, <!--#echo var="DATE_LOCAL" --> can be formatted using #config |
| Sat | %a | abbreviated weekday name |
| Saturday | %A | full weekday name |
| Jul | %b | abbreviated month name |
| July | %B | full month name |
| Sat Jul 5 05:07:05 2008 | %c | default date and time format |
| 20 | %C | Show's Century |
| 05 | %d | day of month - 01 to 31 |
| 07/05/08 | %D | date as %m/%d/%y |
| 5 | %e | day of month - 1 to 31 (single digits are preceded by a blank) |
| Jul | %h | abbreviated month name (alias for %b) |
| 05 | %H | hour - 00 to 23 |
| 05 | %I | hour - 01 to 12 |
| 187 | %j | day of year - 001 to 366 |
| 07 | %m | month of year - 01 to 12 |
| 07 | %M | minute - 00 to 59 |
| Sat
Sat | %n | insert a new line character |
| AM | %p | string containing AM or PM |
| am | %P | string containing am or pm |
| 05:07:05 AM | %r | time as %I:%M:%S %p |
| 05:07 | %R | time as %H:%M |
| 05 | %S | second - 00 to 61 |
| Sat Sat | %t | insert a tab character |
| 05:07:05 | %T | time as %H:%M:%S |
| 26 | %U | week number of year (Sunday is the first day of the week) - 00 to 53 |
| 6 | %w | day of week - Sunday=0 |
| 26 | %W | week number of year (Monday is the first day of the week) - 00 to 53 |
| 07/05/08 | %x | Country-specific date format |
| 05:07:05 | %X | Country-specific time format |
| 08 | %y | year within century - 00 to 99 |
| 2008 | %Y | year as CCYY (4 digits) |
| -0400 | %z | GMT |
| EDT | %Z | time zone name |