timestamp iin MySQL not compatible to the one in PHP???

From: Date: Tue, 05 Mar 2002 20:31:19 +0000
Subject: timestamp iin MySQL not compatible to the one in PHP???
Groups: php.db php.general 
Request: Send a blank email to php-general+get-87341@lists.php.net to get a copy of this message
Hi there, I am playing around with the timestamp functions. I created a timestamp with mysql ( the row is timestamp) and do reformat this thing after selecting with php in the folowíng way: $date_posted[$i] = strftime("%A, %d-%m-%Y %R", $date_posted[$i]); This always returns Tuesday, 19-01-2038 but the mysql timestamp says: 20020305211704 So whats going on? Can anybody help please? Thanx andy

« previous php.general (#87341) next »