Re: Can i use DateTime Object with an timestamp as reference instead of an formated string.
| From: | Németh Zoltán | Date: | Wed, 07 Mar 2007 12:08:48 +0000 |
| Subject: | Re: Can i use DateTime Object with an timestamp as reference instead of an formated string. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-249961@lists.php.net to get a copy of this message | ||
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.
>