Re: Unix timestamp
| From: | Jack Dempsey | Date: | Thu, 10 May 2001 15:47:07 +0000 |
| Subject: | Re: Unix timestamp | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52307@lists.php.net to get a copy of this message | ||
mktime -- Get UNIX timestamp for a date
Description
int mktime (int hour, int minute, int second, int month, int day, int
year [,int is_dst])
Parse that list of values into the respective variables and pass them
to mktime
-jack
TV Karthick Kumar wrote:
>
> Hi List..
>
> How do I convert this Sep 20 2000 00:00:00 into UNIX timestamp so that I
> can use the toDate() function to again convert it to the earlier format. I
> need to do this becoz I am moving from one table to another table where I
> get error, if I already have the converted date value with me.
>
> Pls. help. Thanks in adv.
>
> ~ Karthick
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net