Re: mktime error
| From: | Hernan Marino | Date: | Mon, 05 Apr 2004 10:58:31 +0000 |
| Subject: | Re: mktime error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182353@lists.php.net to get a copy of this message | ||
Guys, second thought.
mktime builds a unix time stamp (since the unix epoch, Jan 1, 1970 [I
guess]), the difference are maybe due to time zones, because its the
number of seconds since Jan,1 1970.
On Mon, 5 Apr 2004 06:29:12 -0400, Andy B wrote:
"On my personal machine the return value is:
1081026000"
interesting... i got 1081054800 from mine with the code:
<?
$time=mktime(0,0,0,4,4,2004);
echo $time;
?>
even on cli it gives the same thing....
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php