vijdev Posted July 24, 2007 Share Posted July 24, 2007 i am setting server time for tz - GMT how will the respective user be able to have all transactions in his own TZ, without having to use javascipt that takes time from users computer? one solution is i think to use geo ip... is there any other way? Link to comment https://forums.phpfreaks.com/topic/61565-php-timezone/ Share on other sites More sharing options...
trq Posted July 24, 2007 Share Posted July 24, 2007 is there any other way? If your users are logged in you could ask them for there tz during the signup process. Link to comment https://forums.phpfreaks.com/topic/61565-php-timezone/#findComment-306401 Share on other sites More sharing options...
redarrow Posted July 24, 2007 Share Posted July 24, 2007 use a select box make it easer. Link to comment https://forums.phpfreaks.com/topic/61565-php-timezone/#findComment-306404 Share on other sites More sharing options...
vijdev Posted July 24, 2007 Author Share Posted July 24, 2007 yeah...asking for users TZ during signup is one way... was thinking of that too.. but later how wud i manage daylight savings...and all those complexities? please let me know.. thanks for taking your time to reply... Link to comment https://forums.phpfreaks.com/topic/61565-php-timezone/#findComment-306414 Share on other sites More sharing options...
redarrow Posted July 24, 2007 Share Posted July 24, 2007 All the information needed for the timezone would be set in the <option value "prpoertys ok ect ect". Link to comment https://forums.phpfreaks.com/topic/61565-php-timezone/#findComment-306422 Share on other sites More sharing options...
suttercain Posted July 24, 2007 Share Posted July 24, 2007 Here is a pretty good article if you wanted to use JavaScript and get the timezone from the user's computer automatically.... I wouldn't go this route, but it's a good read: http://www.willmaster.com/possibilities/archives/wmp19990831001.shtml Link to comment https://forums.phpfreaks.com/topic/61565-php-timezone/#findComment-306438 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.