I've got a DB with all the time zones copied from the date/time control
panel if you want to save some typing/research: did it whilst sat in a train
that didn't move for hours in Galway, but that's another story...

Garry

-----Original Message-----
From: Rich Wild [mailto:[EMAIL PROTECTED]]
Sent: 20 January 2003 14:47
To: '[EMAIL PROTECTED]'
Subject: RE: [ cf-dev ] date brain fuzz


> hey Rich, thanks for that.. have you got an example of point 1?  

No, but if your users are registered you could ask them what time zone
they're in.

If not, you could grab the date and time from their machine, send it to the
server using an image pipe, the image pipe page could set a session variable
denoting what timezone they're in (depending on the time differance between
the client and the server) and from then on you use that setting to tell a
UDF what mask dateformat and timeformat should use whenever a date is
encountered. Course, this all assumes that the client will have his/her
machine datetime setup correctly, which is a terrible assumption to make.

You can probably come up with an even easier way of doing it (I'm just
thinking off the top of my head cos I'm in the middle of something else).

R.


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to