how to set timezone default to america/los_angeles

Freepls's Avatar, Join Date: Dec 2009
Newbie Member
i know u can change it with php for a page by page basis, but i also know u can change it in the ini file(set the default timezone)
but well i dont know how to do the ini file and im not sure if its allowed on freehosting but well..
can someone let me know if its allowed? or
how to make it so that whoever is viewing my site (the time is in their timezone for them)
sees the right time it is there.
I use Free hosting at myplus.org
venami's Avatar, Join Date: Dec 2008
Ambitious contributor
You can set the default timezone in INI file using the "date.timezone" setting.

For example, if you are in India, use:
Code:
date.timezone = "Asia/Calcutta"
But, you have to ask the admin of myplus.org to know whether doing this allowed or not.

Welcome to the forum
venami's Avatar, Join Date: Dec 2008
Ambitious contributor
To set the timezone for los_angeles, use:
Code:
date.timezone = "America/Los Angeles"
neo_vi's Avatar, Join Date: Feb 2008
Invasive contributor
Quote:
Originally Posted by venami View Post
You can set the default timezone in INI file using the "date.timezone" setting.

For example, if you are in India, use:
Code:
date.timezone = "Asia/Calcutta"
But, you have to ask the admin of myplus.org to know whether doing this allowed or not.

Welcome to the forum
I hope this wont work.
Use this
Code:
date.timezone = "Asia/Kolkata"
venami's Avatar, Join Date: Dec 2008
Ambitious contributor
Yes, you are right neo_vi
Freepls's Avatar, Join Date: Dec 2009
Newbie Member
thanks all for support !