> 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("%V", $timestamp); Yours, Uli -- 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]