$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.

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

----- Original Message ----- From: "takeshin" <admi...@gmail.com>
To: <fw-general@lists.zend.com>
Sent: Monday, December 07, 2009 9:51 AM
Subject: Re: [fw-general] Zend_Date first day of the week



Sorry, but this is not what's I'm asking for.

The question is how to get first day of the week for the specified timezone,
which returns *always* 0 (Sunday) for America
and *always* 1 (Monday) for Poland.

--
regards
takeshin
--
View this message in context: http://n4.nabble.com/Zend-Date-first-day-of-the-week-tp954180p954215.html Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to