Re: time stuff
| From: | Hugh Bothwell | Date: | Tue, 11 Dec 2001 00:46:46 +0000 |
| Subject: | Re: time stuff | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-77253@lists.php.net to get a copy of this message | ||
<natesanden@hotmail.com> wrote in message
news:OE447Oz8kpXp4Pqsh1l00003d24@hotmail.com...
> suppose the date is 12-10-01
> --------------------------------------
> $timestamp = time();
>
> //this is the "sent on" date
> $yd_expl = explode(':',08-01-01);
Uh, better make that
... = explode('-', '08-01-01');
Otherwise I think you'll get { 6 } instead of { 8, 1, 1 }