W dniu 2009-12-07 10:33, Thomas Weidner [via Zend Framework Community] pisze: > $date->getWeekday(0); > > Note that NOT EVERY COUNTRY defines 0 to be sunday... it depends on the > country if 0 is a sunday or another day. >
Thank you. That's all in the manual. But, simply put: How to determine this is '0' should be 0 or other value for specified locale? I thought that Zend_Date might provide this information. I'm creating a calendar. It would be nice, if calendar looked like this: // for english speaking users Zend_Locale::setLocale('en'); (0)Sunday, (1)Monday, (2)Tuesday, (3)Wednesday … // for German speaking users Zend_Locale::setLocale('de'); (1)Montag, (2)Dienstag, (3)Mittwoch, (4)Donnerstag… // Zend_Locale::setLocale('pl'); (1)Poniedziałek, (2)Wtorek, (3)Środa, (4)Czwartek… -- regards takeshin -- View this message in context: http://n4.nabble.com/Zend-Date-first-day-of-the-week-tp954180p954403.html Sent from the Zend Framework mailing list archive at Nabble.com.