On Fri, 5 Dec 2008, Lester Caine wrote:
> First question.
> Why are there two different formats for dates with date creation using one
> format and everything else using strftime formatting?
Don't understand what you mean by this.
> ( Slipping a date through DateTime and returning it DATE_W3C se
Hi Derick.
Derick Rethans wrote:
This is not the correct thing to do, as you will lose timezone
information. The W3C format only stores UTC offsets (in the form of
+00:00). However, that same UTC offset can be used in different areas
with different DST changes. Best thing is to store in Unix t
A unix timestamp is in UTC, offsets are stored and applied seperately.
See tzset(3).
Unless someone has misconfigured their system, that is.
On Fri, Dec 5, 2008 at 10:16 AM, Karsten Dambekalns <[EMAIL PROTECTED]> wrote:
> Hi Derick.
>
> Derick Rethans wrote:
>>
>> This is not the correct thing t
> -Original Message-
> From: Lester Caine [mailto:[EMAIL PROTECTED]
> Sent: 05 December 2008 06:24
> To: internals@lists.php.net
> Subject: [PHP-DEV] Upgrading to internal DateTime
>
> OK I spent yesterday working trough some of the
> idiosyncrasies of DateTime and having had a sleep
hi Derick,
Derick Rethans schreef:
> On Fri, 5 Dec 2008, Lester Caine wrote:
>
...
>> Second question.
>> What is the current situation on translating dates? I've tried several ways
>> of
>> using setlocale, but at present I've not been able to get anything other than
>> English out of the cod
On Fri, 5 Dec 2008, Jochem Maas wrote:
> vrijdag, 05 december 2008
> Fri, December 2008
>
> having to use format("U") ?> seems wrong, having
> something like getTimeStamp() ?> would seem better.
>
> Am I missing something? or is there actually a limitation in DateTime
> that should/will be addre
Derick Rethans wrote:
On Fri, 5 Dec 2008, Lester Caine wrote:
First question.
Why are there two different formats for dates with date creation using one
format and everything else using strftime formatting?
Don't understand what you mean by this.
http://uk.php.net/manual/en/function.strftim
Derick Rethans wrote:
( Slipping a date through DateTime and returning it DATE_W3C seems to be
adding the correct daylight saving details so far and allowing ADOdb date to
work )
This is not the correct thing to do, as you will lose timezone
information. The W3C format only stores UTC offsets
On Sat Dec 6 12:09 AM, Lester Caine wrote:
> Derick Rethans wrote:
> >> ( Slipping a date through DateTime and returning it DATE_W3C seems
> to
> >> be adding the correct daylight saving details so far and allowing
> >> ADOdb date to work )
> >
> > This is not the correct thing to do, as you will
W liście Jonathan Bond-Caron z dnia wtorek 09 grudnia 2008:
> Unix timestamps are simpler since you know they are always in UTC.
>
> Just thought I'd raise that there's nothing wrong with storing all dates as
> ISO in a given timezone. It takes a little more work but if your
> consistent, it can m
10 matches
Mail list logo