How to config the default TimeZone of WAMPS?
Posted by: domecc (221.220.54.---)
Date: August 04, 2006 02:54AM

How to config the default TimeZone of WAMPS?

I hope it can be set to my local timezone. Please help, thanks!

Options: ReplyQuote
Re: How to config the default TimeZone of WAMPS?
Posted by: CyberSpatium (67.170.181.---)
Date: August 04, 2006 03:37AM

php does not have a timezone setting you can set in the php ini. it goes off your local time. you can change the timezone in your scripts easiy though using date_default_timezone_set()

date_default_timezone_set()
[us2.php.net]

PHP date and time functions
[us2.php.net]

Options: ReplyQuote
Re: How to config the default TimeZone of WAMPS?
Posted by: domecc (222.131.154.---)
Date: August 04, 2006 09:42AM

Thanks!

Options: ReplyQuote
Re: How to config the default TimeZone of WAMPS?
Posted by: tellmewhoareu (59.145.110.---)
Date: August 07, 2006 09:56AM

[Date]
; Defines the default timezone used by the date functions
date.timezone = "Asia/Calcutta"


add this line to php.ini



Post Edited (08-07-06 09:57)

Options: ReplyQuote
Re: How to config the default TimeZone of WAMPS?
Posted by: domecc (221.216.131.---)
Date: August 09, 2006 09:13AM

tellmewhoareu wrote:

> [Date]
> ; Defines the default timezone used by the date functions
> date.timezone = "Asia/Calcutta"
>
>
> add this line to php.ini
>


Thanks! It's great!

Options: ReplyQuote


Sorry, only registered users may post in this forum.