[uf-discuss] hAtom in Wordpress or Php: Iso 8601 timestamp

Scott Reynen scott at randomchaos.com
Sat Mar 8 09:42:28 PST 2008

On Mar 8, 2008, at 2:11 AM, Lorenzo De Tomasi wrote:

> But now the question is which is the correct ISO 8601 timestamp?
> 2008-01-29T11:42:00+01:00 or 2008-01-29T11:42:00+0100?

Both are valid per ISO 8601.  Here's the full spec:


 From section

"Basic format: ±hhmm Example: +0100
±hh  +01
Extended format: ±hh:mm Example: +01:00"

While both are valid, hh:mm is probably more friendly to screen  
readers.  If you're running PHP 5, you can get the full ISO 8601  
representation with the_time( 'c' ).


More information about the microformats-discuss mailing list