Re: format timestamp

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

 



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

--
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