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
Hello There,
I would like to propose a third argument to implode(), named
skip_empty, that will cause empty elements to be ignored when
generating the implode string. By empty I mean everything that
converts to an empty string such as '', false, null, etc.
For example:
Will output:
1,,2,,3,0,
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