Forum Moderators: phranque

Message Too Old, No Replies

how to set timezone default to america/los angeles

         

Freepls

3:35 am on Dec 8, 2009 (gmt 0)

10+ Year 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 <snip>

[edited by: bill at 4:24 am (utc) on Dec. 8, 2009]
[edit reason] No links to hosts please [/edit]

Trav

1:20 am on Dec 11, 2009 (gmt 0)

10+ Year Member



Don't know if your free host allows you to set the php ini file- i'd guess that it's shared by others and thus not opened to edit.

If you want the user to see their time, you need to check with their browser - this post might be helpful: [webmasterworld.com...]

I'm thinking this is a job for Javascript, not php, but it's probably possible either way.