> Actually, this is in PHP 4.1.0 which has just been released...
>
> ..here's the line from the changelog:
>
> "Added 'W' flag to date() function to return week number of year
> using ISO
> 8601 standard. (Colin)"
If you have an older version you can use this line:
$week_number = strftime("
Actually, this is in PHP 4.1.0 which has just been released...
..here's the line from the changelog:
"Added 'W' flag to date() function to return week number of year using ISO
8601 standard. (Colin)"
--
Shane
On Tuesday 11 Dec 2001 3:37 pm, Nick Ward wrote:
> Hello,
>
> First of all I am ver
Hello,
First of all I am very new to PHP so if I am asking something very obvious
then I apologise. I am writing a time-sheet application for a division of
our company and we book all time by week number. Is it possible to get PHP
to work out the week number (1-53) from the current date.
Any h
3 matches
Mail list logo