Time Zones + GMT
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 42379
interpreted = N
texte = Listmates,Does anyone have some code or thoughts they might share for the followingtime zone problem?Since my server is located in the US Central Time Zone, I'm storing a timezone preference in my database as the offset of Central Time (+1 forEastern, +0 for Central, -1 for Mountain, -2 Pacific). I need to use thisoffset to calculate the correct date and time for the time zone specified bythe client in the database.I think I'm going to need to convert to GMT and back or something like that,but I'm not sure. I want to display the results of the math as:Weekday, Month DD, YYYY | HH:MM:am/pm.Any help would be greatly appreciated.---------------------------------------------------------------------Clint DavisWebmaster / Interactive Media SpecialistGray Loon Marketing Group, Inc. http://www.grayloon.com204 Main Street | Evansville, IN 47708 | Phone:812-422-9999----------------------------------------------------------------------------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Listmates,Does anyone have some code or thoughts they might share for the followingtime zone problem?Since my server is located in the US Central Time Zone, I'm storing a timezone preference in my database as the offset of Central Time (+1 forEastern, +0 for Central, -1 for Mountain, -2 Pacific). I need to use thisoffset to calculate the correct date and time for the time zone specified bythe client in the database.I think I'm going to need to convert to GMT and back or something like that,but I'm not sure. I want to display the results of the math as:Weekday, Month DD, YYYY | HH:MM:am/pm.Any help would be greatly appreciated.---------------------------------------------------------------------Clint DavisWebmaster / Interactive Media SpecialistGray Loon Marketing Group, Inc. http://www.grayloon.com204 Main Street | Evansville, IN 47708 | Phone:812-422-9999----------------------------------------------------------------------------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Clint Davis
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
How to Display text in empty fields (1997)
WebDNA 5.0 upgrade policies (2003)
Re[2]: WebCat is different user (1999)
NewCart+Search with one click ? (1997)
Shell Script needed (2003)
[OT] Google Info (2004)
Undeclared variables (2004)
RE: webcat license???? (1997)
categorys (1998)
Reinstalling (2001)
Custom WebCat Prefs ... (1997)
WebCat & WebTen (1997)
[WriteFile] problems (1997)
Reserved words - Enhancement request (2000)
Typhoon and Netpresenz? (1999)
Reversed words (1997)
last word listed (2000)
Authenticate (1997)
Undeliverable Mail (1997)
Math (1997)