Date Tag Formats
Movable Type uses standard strftime format strings to
describe dates and times. (However, note that strftime itself is not actually
used to perform the formatting.) In any date tag, you should use the format
attribute to specify the format string, like this:
<$MTDate format="%B %e, %Y %I:%M %p"$>
The above format is actually
the default format for English date formatting, and creates a date looking like
this:
September 20, 2001 11:44 PM
The language used in weekday names, month names, and AM/PM specifiers can be chosen in the Weblog Configuration as Language for date display. The default language used is English.
You can override the default language setting by using the language attribute to specify the language; this will apply only for the particular date string that you are formatting. Here is the list of available language tags: cz, dk, nl, en, fr, de, is, jp, it, no, pl, pt, si, es, fi, se.
So, to make the same English date formatting (Month Day, Year Hour:Minute AM/PM) in french, the code would be:
<$MTDate format="%B %e, %Y %I:%M %p" language="fr"$>
Here is a
list of the format specifiers:
%a - The abbreviated weekday name. Example: Thu.
%A - The full
weekday name. Example: Thursday.
%b - The abbreviated month name. Example:
Sep.
%B - The full month name. Example: September.
%d - The day of the
month, two digits, padded with a 0 if necessary. Example: 09.
%e - The day
of the month, padded with a space if necessary. Example: 9.
%H - The hour,
using a 24-hour clock (military time), two digits, padded with a 0 if necessary.
Example: 16.
%I - The hour, using a 12-hour clock, two digits, padded with a
0 if necessary. Example: 04.
%j - The day of the year, three digits, padded
with 0s if necessary. Example: 056.
%k - The hour, using a 24-hour clock
(military time), two digits, padded with a space if necessary. Example: 9.
%l - The hour, using a 12-hour clock, two digits, padded with a space if
necessary. Example: 4.
%m - The month, two digits, padded with a 0 if
necessary. Example: 09.
%M - The minute, two digits, padded with a 0 if
necessary. Example: 02.
%p - Either AM or PM.
%S - The second, two
digits, padded with a 0 if necessary. Example: 04.
%x - The language-aware
date representation. For most languages, this is just the same as %B %e, %Y.
Example: September 6, 2002.
%X - The language-aware time representation. For
most languages, this is just the same as %I:%M %p. Example: 4:31 PM.
%y -
The year, two digits, padded with a 0 if necessary. Example: 01.
%Y - The
year, four digits. Example: 2001.

Hello! Good Site! Thanks you! ejguugsgihm