Manual:Timestamp

The format of timestamps used in MediaWiki URLs and in some of the MediaWiki database fields is yyyymmddhhmmss. For example, the timestamp for August 9th, 2010 00:30:06 UTC is 20100809003006. The timezone for these timestamps is UTC.

While timestamps of this format can be read with a little effort, but are not suitable for display. The following PHP snippet converts MediaWiki timestamps to a more easy-to-read format.