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)"
On Tuesday 11 Dec 2001 3:37 pm, Nick Ward wrote:
> 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 help and advice would be greatly appreciated.
> Nick Ward
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]