Re: Does PHP strip out the seconds from a SQL Server datetime field?
| From: | Fen Lu | Date: | Wed, 07 Dec 2005 01:01:27 +0000 |
| Subject: | Re: Does PHP strip out the seconds from a SQL Server datetime field? | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-40776@lists.php.net to get a copy of this message | ||
Try these for a test, I haven't check it~
$mytime=strtotime($stime)
date('Y-m-d H:i:s',$mytime);
--
From : Fen lu