Re: Which function returns a correct ISO8601 date?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 07 Sep 2013 14:47:00 +0200, Simon Schick wrote:

> The method date("c") actually formats a date, fitting to the format
> defined in the constant DateTime::ATOM.
> 
> Are both formats (with and without colon) valid for ISO8601, or is the
> documentation for the method date() wrong?

Yes:

http://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators

Bye.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux