RE: [PHP] Re: Issue with 'W' in the date() function?

From: Date: Wed, 04 Feb 2004 12:58:32 +0000
Subject: RE: [PHP] Re: Issue with 'W' in the date() function?
Groups: php.general 
Request: Send a blank email to php-general+get-176783@lists.php.net to get a copy of this message
On 03 February 2004 16:16, William Bailey contributed these pearls of wisdom: > Ok. Its been a long day and my brain is starting to shut down > so... > > How would i work out which year the 'W' relates to? > > I have a unix timestamp value and want to end up with the > correct 'YW' > value. Look at strftime() http://www.php.net/strftime -- specifically, the %V and %G specifiers. Cheers! Mike -- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@leedsmet.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#176783) next »