View Single Post

  #2 (permalink)  
Old 03-07-2007
Németh Zoltán
 
Posts: n/a
Default Re: [PHP] Can i use DateTime Object with an timestamp as referenceinstead of an formated string.

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

Reply With Quote