Re: Seconds retrieving
| From: | Hugh Bothwell | Date: | Tue, 07 Aug 2001 11:35:33 +0000 |
| Subject: | Re: Seconds retrieving | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8695@lists.php.net to get a copy of this message | ||
"Ventsyslav Vassilev" <wency@comelsoft.com> wrote in message
news:20010807061526.41664.qmail@pb1.pair.com...
> Hi, is there any function, which returns the number of seconds between
> 01.01.1970 and a GIVEN date - similar to UNIX_TIMESTAMP in mySQL?
> time() works, but counts from current time only...
Either mktime() or strtotime() depending on what you're working from...