Re: Help with Date
| From: | Curt Zirzow | Date: | Mon, 21 Jul 2003 20:46:08 +0000 |
| Subject: | Re: Help with Date | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156134@lists.php.net to get a copy of this message | ||
* Thus wrote Ford, Mike [LSS] (M.Ford@lmu.ac.uk):
> > -----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!!)
Its like when someone tells you to 'take the next exit'.. is it this exit
comming up or the one after that....
Curt
--
"I used to think I was indecisive, but now I'm not so sure."