Re: format timestamp

From: Date: Thu, 18 Jan 2007 03:33:16 +0000
Subject: Re: format timestamp
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-247293@lists.php.net to get a copy of this message
weetat wrote:
Hi all , I am using php 4.2 , mysql and Linux OS. I need to format timestamp to string using strftime , for e.g: strftime('%e',1170000000) -> the day should be 28 , but is 29 when i execute strftime() function. Anyone have ideas what is the problems ? Thanks I am running 4.3.11
my current time is Wed Jan 17 19:32:31 PST 2007 and I get 28. Check also the date and time of the server you are running on and make sure that it is set correctly to your local

« previous php.general (#247293) next »