Re: Does PHP strip out the seconds from a SQL Server datetime field?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try these for a test, I haven't check it~
$mytime=strtotime($stime)
date('Y-m-d H:i:s',$mytime);

--
>From : Fen lu

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux