Re: format timestamp
| From: | Curt Zirzow | Date: | Thu, 18 Jan 2007 03:06:54 +0000 |
| Subject: | Re: format timestamp | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-247291@lists.php.net to get a copy of this message | ||
On 1/17/07, weetat <weetat.yeo@cxrus.com> 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 ?Upgrade to a more recent version of php? with php5.2 i get 28, with php version 4.4 i get 28. You have to remember the last version of 4.2 was release on 6 September 2002, it is 2007 right now iirc. See php.net/releases/ for more information. Curt.