If the user is using one of the many freely available public proxies the IP solution becomes a bit of a problem. The js solution is a little risky as well, users rarely use a time server to adjust their OS clock, or even set their timezone correctly for that matter. But if an accurate time is not a requirement this is the better option. I have used a timezone selection option when the user first hits the site before but I have never really used a 100% fool proof automated solution. What have others done for this problem?
> "use cgi scope to get their ip address, resolve that to country" > > How do you do that? > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Barry > Beattie > Sent: Tuesday, June 14, 2005 2:06 PM > To: CFAussie Mailing List > Subject: [cfaussie] RE: Client Date > > > Chris: two quick thoughts (since you only want what date - not time) > > 1) use cgi scope to get their ip address, resolve that to country, check > the > GMT offset (compared to the server) for any + hours and the date is server > + > 1: (lots of work) > 2) use javascript to populate a hidden field with a JS date/time object - > let the browser help you out. this may stuff up if their machine is not > set > up correctly... > > gotta go good luck > barry.b > > > > > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] Behalf Of Chris >> Velevitch >> Sent: Tuesday, 14 June 2005 1:48 PM >> To: CFAussie Mailing List >> Subject: [cfaussie] Client Date >> >> >> How do I determine the date of the client when the server is in a >> different timezone to the client? >> >> Chris >> -- >> Chris Velevitch >> Manager - Sydney Flash Developers Group >> www.flashdev.org.au >> >> --- >> You are currently subscribed to cfaussie as: [EMAIL PROTECTED] >> To unsubscribe send a blank email to >> [EMAIL PROTECTED] >> Aussie Macromedia Developers: http://lists.daemon.com.au/ >> > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to > [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to > [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
