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 '%'
%cThe calendar month name.
%CThe calendar month name abbreviated to 3 characters and represented in English.
%dA two digit day.
%DA variable digit day.
%hA two digit hour (on a 12 hour clock).
%HA variable digit hour (on a 12 hour clock).
%jA two digit hour (on a 24 hour clock).
%JA variable digit hour (on a 24 hour clock).
%mA two digit month.
%MA variable digit month.
%nA two digit minute.
%oOffset from local time represented as an integer.
%OOffset from GMT represented in four digit form with a sign. Example: -0600
%pA lower-case am/pm.
%PAn upper-case AM/PM.
%sA two digit second.
%wDay of the week.
%WDay of the week abbreviated to 3 characters and represented in English.
%yA four digit year.
%YA two digit year.
%zThe current user's date format preference, (default: '%H:%n %p').
%ZThe 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;