Re: Hi what is diff. Between mktime() and UNIX_TIMESTAMP()

From: Date: Thu, 14 Mar 2002 10:54:44 +0000
Subject: Re: Hi what is diff. Between mktime() and UNIX_TIMESTAMP()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-88466@lists.php.net to get a copy of this message
On Thursday 14 March 2002 18:03, Balaji Ankem wrote: > Hi, > UNIX_TIMESTAMP(2002-03-21 08:30:00) and > mktime(2002,03,21,08,30,00) equal or not? > > But both are same timestamp..but returning values are > different.....y? > > Unixtimestamp from Mysql :1016679600 > Unixtimestamp from PHP :953699601 > > y this much difference? The arguments you're giving to mktime are in the wrong order. mktime (hour, minute, second, month, day, year [, is_dst]); -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* 186,282 miles per second: It isn't just a good idea, it's the law! */

« previous php.general (#88466) next »