« Return to Thread: Timezone details

Re: Timezone details

by Michael A. Peters :: Rate this Message:

Reply to Author | View in Thread

Manoj Singh wrote:
> Hi All,
>
> Is there any function in PHP which will provide me the details of any
> timezone such as current time, DST, offset etc.
>
> Thanks in advance,
> Manoj
>

It's called date

http://php.net/manual/en/function.date.php

The manual page on the function tells you how to get all that plus other
groovy information.

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

 « Return to Thread: Timezone details