note 14382 added to function.strtotime.php
| From: | jdg11 at po dot cwru dot edu | Date: | Sat, 28 Jul 2001 17:41:52 +0000 |
| Subject: | note 14382 added to function.strtotime.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15986@lists.php.net to get a copy of this message | ||
note, that it takes the RFC formatted strings swimmingly (at least on my RedHat machine)...eg,
<?
$mydate = date("r",time());
$stamp = strtotime($mydate);
?>
That *should* return an integer equivalent to the UNIX timestamp at the time time() was called the
first time.
--josh
http://www.php.net/manual/en/function.strtotime.php