Chapter C: Date Formats
Movable Type Date Formats
All date and time tags inherit the two attributes that control their presentation.
Movable Type uses standard strftime format strings to
describe date and time layouts using the format attribute.
Furthermore, the language attribute can be used to override
the weblog's preferred language setting in weekday names, month names, and
AM/PM codes. This override will apply only for the particular date string
that you are formatting.
Date and Time Codes
The following are the recognized date and time format codes:
%aThe abbreviated weekday name. Example:
Thu.%AThe full weekday name. Example:
Thursday.%bThe abbreviated month name. Example:
Sep.%BThe full month name. Example:
September.%dThe two-digit day of the month padded with leading zeroes if applicable. Example:
09.%eThe day of the month space padded if applicable. Example:
9.%HThe two-digit military time hour padded with a zero if applicable. Example:
16.%IThe two-digit hour on a 12-hour clock padded with a zero if applicable. Example:
04.%jThe three-digit day of the year padded with leading zeroes if applicable. Example:
040.%kThe two-digit military time hour padded with a space if applicable. Example:
9.%lThe hour on a 12-hour clock padded with a space if applicable. Example:
4.%mThe two-digit month padded with a leading zero if applicable. Example:
09.%MThe two-digits minute padded with a leading zero if applicable. Example:
02.%pEither
AMorPM. Language dependent.%SThe two-digit second padded with a zero if applicable. Example:
04.%wThe numeric day of the week ranging from
0to6where0isSunday. Example:0%xThe language-aware standard date representation. For most languages, this is just the same as %B %d, %Y. Example:
September 06, 2002.%XThe language-aware time representation. For most languages, this is just the same as %I:%M %p. Example:
04:31 PM.%yThe two-digit year padded with a leading zero if applicable. Example:
01.%YThe four-digit year. Example:
2001.
As of version 2.0 of Movable Type, %Z is no longer
supported. For the timezone see the MTBlogTimezone tag.
Language Codes
The following is a list of the recognized language codes:
cz- Czechoslovakiandk- Scandinaviannl- Dutchen- Englishfr- Frenchde- Germanis- Icelandicjp- Japaneseit- Italianno- Norwegianpl- Polishpt- Portuguesesi- Slovenianes- Spanishfi- Finnishse- Swedish
This is what was in the old manual. Are all of these recognized or is it just the "official" languages? What are those 5 again? I think I labeled them above, but wanted to check.


