How do you convert a unix timestamp to date('Y-m-d H:i:s')?
Convert unix timestamp to date('Y-m-d H:i:s')?
Collapse
This topic is closed.
X
X
-
Chris Hope
Re: Convert unix timestamp to date('Y-m-d H:i:s')?
Sugapablo wrote:
[color=blue]
> How do you convert a unix timestamp to date('Y-m-d H:i:s')?[/color]
date('Y-m-d H:i:s', $timestamp);
Refer to the manual at http://www.php.net/dateLast edited by Niheel; Jul 22 '14, 07:35 PM.
Comment