faqts : Computers : Programming : Languages : PHP : Common Problems : Tips and Tricks

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 11 people (18%) answered Yes
Recently 2 of 5 people (40%) answered Yes

Entry

How can I get the users time?

Jul 6th, 1999 04:53
Nathan Wallace, Teodor Cimpoesu


You can try guessing his timezone (TZ) based on the country code given
by REMOTE_ADDR, and set the time acordingly.