views:

42

answers:

1

how in lamp (LINUX ,APACHE ,MYSQL ,PHP) environment , can i show date and time in web page according to the user time zone ?

THANKS

+4  A: 

Use JavaScript to determine the timezone of the user:

new Date().gettimezoneOffset()
Sjoerd
thanks i didn't notice to this function , great :)
Haim Evgi