Re: format timestamp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/17/07, weetat <weetat.yeo@xxxxxxxxx> 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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux