Please read the manual carefully.
Zend_Date supports both standards. ISO is default but you can also use the old GNU standard.

Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com

----- Original Message ----- From: "PHPScriptor" <cont...@phpscriptor.com>
To: <fw-general@lists.zend.com>
Sent: Thursday, October 22, 2009 7:18 PM
Subject: [fw-general] date format Zend vs PHP



Why is the date format in Zend different from the one in PHP?

eg.
Zend: HH for 24-hour format of an hour with leading zeros
PHP: H for 24-hour format of an hour with leading zeros

but even more strange:
Zend: mm for Minutes with leading zeros
PHP: i for Minutes with leading zeros

I think the Zend one is better. But still, it would be easier if they were
both the same. Was there a reason why they didn't follow php?

-----
visit my website at http://www.phpscriptor.com/ http://www.phpscriptor.com/
--
View this message in context: http://www.nabble.com/date-format-Zend-vs-PHP-tp26013881p26013881.html Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to