Textpattern

Return to main site

Related

Frequently Asked Questions

How do I use a custom date format?

Q.

None of the date formats match the standard ones used in my locale.
My favorite date/time format isn’t in the list!
How do I use a custom date format for article or comment timestamps?

A.

Use <txp:posted format="%Y-%m-%d" /> or similar. See the PHP manual for a list of format specifiers.

Please note that Windows supports only a limited subset of format specifiers.

For information about displaying times and dates in different languages, see How do I display time and date formats in my local language?.

Posted 17 August 2005, 10:03 by Alex Shiels

---