I.5.5- TIMEFMT Tokens for the #config Directive
Created
by Brendan Doss.
|
| << I.5.4- SIZEFMT Tokens for the #config Directive | AppendixI | I.5.6- VAR Tokens for the #echo Directive >> |
TIMEFMT Tokens for the #config Directive
|
Token |
Description |
|
%a |
The day of the week as 'Mon', 'Tue', etc. |
|
%A |
The day of the week as 'Monday', Tuesday', etc. |
|
%b |
The name of the month as 'Jan', Feb', etc. |
|
%B |
The name of the month as 'January', February', etc. |
|
%c |
The current date and time formatted appropriately for the server's locale (i.e. 11/06/99 12:51:32). |
|
%d |
The day of the month as a number (01 to 31). |
|
%H |
The current hour in 24-hour format (00 to 23). |
|
%I |
The current hour in 12-hour format (01 to 12). |
|
%j |
The day of the year as a number (001 to 366). |
|
%m |
The month as a number (01 to 12). |
|
%M |
The current minute as a number (00 to 59). |
|
%p |
The appropriate 'morning' or 'afternoon' string for the server's locale (i.e. AM or PM). |
|
%S |
The current second as a decimal number (00 to 59). |
|
%U |
The week of the year as a number with Sunday as the first day of the week (00 to 51). |
|
%w |
The day of the week as a number with Sunday as the first day of the week (0 to 6). |
|
%W |
The week of the year as a number with Monday as the first day of the week (00 to 51). |
|
%x |
The current date formatted appropriately for the server's locale (i.e. 11/06/99). |
|
Token |
Description |
|
%X |
The current time formatted appropriately for the server's locale (i.e. 12:51:32). |
|
%y |
The year number without the century (i.e. 01). |
|
%Y |
The year number with the century (i.e. 2001). |
|
%z, %Z |
The name or an abbreviation for the server's time zone if known. |
|
%% |
A 'percent' character. |
| << I.5.4- SIZEFMT Tokens for the #config Directive | AppendixI | I.5.6- VAR Tokens for the #echo Directive >> |

RSS
