Thomas Weidner wrote:
>
>>> It's a regional topic.
>>> For more informations look into unicodes database:
>>> http://unicode.org/cldr
>>>
>>
>>It a little bit off topic already :)
>>
>>I'm interested in function like:
>>
>>function getFirstDayOfTheWeek($country)
>>...
>>Of course, I can allow
t: Tuesday, December 08, 2009 1:45 AM
Subject: [fw-general] R: Re: [fw-general] Zend_Date first day of the week
I think 0 is sunday.. 1 is monday ..
--Messaggio originale--
Da: takeshin
A:fw-general@lists.zend.com
Oggetto: Re: [fw-general] Zend_Date first day of the week
Inviato: 8 Dic
I think 0 is sunday.. 1 is monday ..
--Messaggio originale--
Da: takeshin
A:fw-general@lists.zend.com
Oggetto: Re: [fw-general] Zend_Date first day of the week
Inviato: 8 Dic 2009 00:27
Thomas Weidner wrote:
>
>
> It is possible.
> But your expectations are wrong. ;
It's a regional topic.
For more informations look into unicodes database:
http://unicode.org/cldr
It a little bit off topic already :)
I'm interested in function like:
function getFirstDayOfTheWeek($country)
...
Of course, I can allow user to set this manually,
but I'm just looking for sane
Thomas Weidner wrote:
>
>
> It is possible.
> But your expectations are wrong. ;-)
>
>
No comprendo, Senior ;)
Thomas Weidner wrote:
>
> It's a regional topic.
> For more informations look into unicodes database: http://unicode.org/cldr
>
>
It a little bit off topic already :)
I'm in
- Original Message -
From: "takeshin"
To:
Sent: Monday, December 07, 2009 10:31 PM
Subject: Re: [fw-general] Zend_Date first day of the week
A.J. Brown-3 wrote:
I think his question is:
"How do I determine (automagically) what the first day of the week is,
for
A.J. Brown-3 wrote:
>
> I think his question is:
>
> "How do I determine (automagically) what the first day of the week is,
> for a given LOCALE?"
>
> I think he wants something like this:
>
> Zend_Locale::setLocale( );
> Zend_Date::getFirstWeekday(); // returns 0 for Americas, 1 for German
t 11:07 AM, Thomas Weidner wrote:
>
> - Original Message - From: "takeshin"
> To:
> Sent: Monday, December 07, 2009 3:25 PM
> Subject: Re: [fw-general] Zend_Date first day of the week
>
>
>
>>> $date->getWeekday(0);
>>>
>>&g
- Original Message -
From: "takeshin"
To:
Sent: Monday, December 07, 2009 3:25 PM
Subject: Re: [fw-general] Zend_Date first day of the week
$date->getWeekday(0);
Note that NOT EVERY COUNTRY defines 0 to be sunday... it depends on the
country if 0 is a sunday o
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 determi
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
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-firs
vince. wrote:
>
> Try:
>
> date_default_timezone_set('Europe/Berlin');
> $date = new Zend_Date();
>
> // Output of the current timestamp
> print $date;
> print "";
> print $date->get(Zend_Date::WEEKDAY);
>
Thanks.
I Always forget to set correct timezo
Hi,
Try:
date_default_timezone_set('Europe/Berlin');
$date = new Zend_Date();
// Output of the current timestamp
print $date;
print "";
print $date->get(Zend_Date::WEEKDAY);
On Mon, Dec 7, 2009 at 9:15 AM, takeshin wrote:
>
> Is it possible to get first
Is it possible to get first day of the week
for the specified locale using Zend_Date?
Zend_Date::WEEKDAY_FIRST ?
--
regards
takeshin
--
View this message in context:
http://n4.nabble.com/Zend-Date-first-day-of-the-week-tp954180p954180.html
Sent from the Zend Framework mailing list archive at N
15 matches
Mail list logo