RE: [PHP] Help with Date

From: Date: Mon, 21 Jul 2003 13:37:00 +0000
Subject: RE: [PHP] Help with Date
Groups: php.general 
Request: Send a blank email to php-general+get-156064@lists.php.net to get a copy of this message
> -----Original Message----- > From: Adam Voigt [mailto:adam@cryptocomm.com] > Sent: 21 July 2003 14:29 > > echo(date('U',strtotime('next Friday'))); Actually, for this upcoming Friday, that'd just be echo(date('U',strtotime('Friday'))); Slightly confusingly, 'next Friday' would be the Friday after that (because 'next' is defined to be equivalent to '2nd' -- no, I don't understand why either, I just know it is!!) 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@lmu.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#156064) next »