At 10:02 AM +0200 12/14/07, Arno Kuhl wrote:
I'm battling with getting the last week number using date(W, $unixdate). If
the date is 30 December 2007 ($unixdate=1198965600)
Not accordingly to my calculations -- try it:
http://webbytedd.com/c/unix-time/
Cheers,
tedd
--
---
-Original Message-
From: tedd [mailto:[EMAIL PROTECTED]
Sent: 14 December 2007 04:50
To: [EMAIL PROTECTED]; php-general@lists.php.net
Cc: Arno Kuhl
Subject: Re: [PHP] PHP date: ISO year = loss of hair
At 10:02 AM +0200 12/14/07, Arno Kuhl wrote:
I'm battling with getting the last week
On Dec 14, 2007 3:02 AM, Arno Kuhl [EMAIL PROTECTED] wrote:
I'm battling with getting the last week number using date(W, $unixdate). If
the date is 30 December 2007 ($unixdate=1198965600) then date(W, $unixdate)
returns 01. I know that according to the ISO spec, the last week of the ISO
year
-Original Message-
From: Andrew Ballard [mailto:[EMAIL PROTECTED]
Sent: 14 December 2007 04:38
To: PHP General list
Subject: Re: [PHP] PHP date: ISO year = loss of hair
If the last week of the year is the one that has Dec. 28 in it, and the last
week number is 52, then Dec. 30 SHOULD
On Fri, December 14, 2007 2:02 am, Arno Kuhl wrote:
I'm battling with getting the last week number using date(W,
$unixdate). If
the date is 30 December 2007 ($unixdate=1198965600) then date(W,
$unixdate)
returns 01. I know that according to the ISO spec, the last week of
the ISO
year has 28
I'm battling with getting the last week number using date(W, $unixdate). If
the date is 30 December 2007 ($unixdate=1198965600) then date(W, $unixdate)
returns 01. I know that according to the ISO spec, the last week of the ISO
year has 28 December in it, so in this particular case the last week
6 matches
Mail list logo