Data / Time problem

From: Date: Wed, 15 Nov 2000 20:01:20 +0000
Subject: Data / Time problem
Groups: php.db 
Request: Send a blank email to php-db+get-4450@lists.php.net to get a copy of this message
Data / Time problem: How to format a date from Mysql column ( timestamp(8) ) to "Year / Month / Day" ? I got a problem , For examlp : ********* $fromMysql = "19811229"; echo date("Y / m / d", $fromMysql); ********* I would like to see 1981 / 12 /29 ,but I got the result : 1970 / 08 / 18

« previous php.db (#4450) next »