Re: datetime convert
| From: | nicos@php.net | Date: | Sat, 14 Sep 2002 14:14:05 +0000 |
| Subject: | Re: datetime convert | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116368@lists.php.net to get a copy of this message | ||
You should look at mktime()
--
Nicos - CHAILLAN Nicolas
nicos@php.net
www.WorldAKT.com - Hébergement de sites Internet
"Alex Shi" <chpshi@eol.ca> a écrit dans le message de news:
20020913055514.41730.qmail@pb1.pair.com...
> Hi,
>
> I'm trying to convert a formated datetime string into a timestamp.
> The string format is "Y-m-d H:i:s". I use strtotime() to convert the
> datetime string. However, the converted datetime seems lost its
> time part. Is there any easy solution to make the converting?
> Thanks in advance!
>
> Alex
>
> --
> ---------------------------
> TrafficBuilder Network:
> http://www.bestadv.net/index.cfm?ref=7029
>