package WebGUI::i18n::English::Macro_D_date; our $I18N = { 'macroName' => { message => q|Date|, lastUpdated => 1128837997, }, 'date title' => { message => q|Date Macro|, lastUpdated => 1112466408, }, 'date body' => { message => q|
^D();
^D([date formatting code],[epoch date]);
The current date and time.
You can configure the date by using date formatting symbols. For instance, if you created a macro like this ^D("%c %D, %y"); it would output September 26, 2001. The following are the available date formatting symbols:
| %% | A literal percent sign '%' |
| %c | The calendar month name. |
| %C | The calendar month name abbreviated to 3 characters and represented in English. |
| %d | A two digit day. |
| %D | A variable digit day. |
| %h | A two digit hour (on a 12 hour clock). |
| %H | A variable digit hour (on a 12 hour clock). |
| %j | A two digit hour (on a 24 hour clock). |
| %J | A variable digit hour (on a 24 hour clock). |
| %m | A two digit month. |
| %M | A variable digit month. |
| %n | A two digit minute. |
| %o | Offset from local time represented as an integer. |
| %O | Offset from GMT represented in four digit form with a sign. Example: -0600 |
| %p | A lower-case am/pm. |
| %P | An upper-case AM/PM. |
| %s | A two digit second. |
| %w | Day of the week. |
| %W | Day of the week abbreviated to 3 characters and represented in English. |
| %y | A four digit year. |
| %Y | A two digit year. |
| %z | The current user's date format preference, (default: '%H:%n %p'). |
| %Z | The current user's time format preference, (default: '%M/%D/%y') |
The default format code is %z %Z.
You can also pass in an epoch date into this macro as a secondary parameter. If no date is specified then today's date and time will be used.
|, lastUpdated => 1146679159, }, }; 1;