Re: Can i use DateTime Object with an timestamp as referenceinstead of an formated string.

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

 



Németh Zoltán wrote:
2007. 03. 7, szerda keltezéssel 12.58-kor Mathijs ezt írta:
Hello there,

I Use timestamps for logging etc..
But i need this timestamp to let is show the right time in different timezones.

Now i wanted to use DateTime object, but it seems it needs a string as reference, so i can't use a timestamp to re-generate that time.

How can i fix this?

I think
http://hu2.php.net/manual/hu/function.strftime.php
should be okay

greets
Zoltán Németh

Thx in advance.


I hoped to avoid this.
I Now i need an extra function call to get the right time.
Hoped there was a way to give just the timestamp directly.

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