Re: Time code!

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43583
interpreted = N
texte = On Thursday, September 19, 2002, at 05:49 PM, John Peacock wrote:[snip]> You can only access local time on the server, which does change based on > whether DST is in effect. Thus, there is a need to know when your offset > to GMT changes. One simplistic way to deal with this is to change the > server's timezone to GMT and always return GMT times.I guess that is why it confused me. My servers are always set to GMT :) I hope to eventually add a deal where my users list their timezone so I can show data based on their local time. But haven't figured out how I should go about doing that.I store all dates and times as number using [math]{[date]}[/math] and [math]{[time]}[/math]. Then I figure I would need to add an offset field to the users record. But that still wouldn't handle DST unless I have a lookup table or include. And considering some places don't change and others change at different times.... that will be fun (I have members from over 90 countries).> JohnDale ------------------------------------------------------------- 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:

    
  1. Re: Time code! (Bob Minor 2002)
  2. Re: Time code! (John Peacock 2002)
  3. Re: Time code! (dale's stuff 2002)
  4. Re: Time code! (Gary Krockover 2002)
  5. Re: Time code! (Bob Minor 2002)
  6. Re: Time code! (John Peacock 2002)
  7. Re: Time code! (dale@gmr.dresdner.net 2002)
  8. Re: Time code! (Bob Minor 2002)
  9. Re: Time code! (John Peacock 2002)
  10. Re: Time code! (dale@gmr.dresdner.net 2002)
  11. Re: Time code! (Bob Minor 2002)
  12. Re: Time code! (John Peacock 2002)
  13. Re: Time code! (Bob Minor 2002)
  14. Re: Time code! (Alain Russell 2002)
  15. Re: Time code! (John Peacock 2002)
  16. Time code! (Bob Minor 2002)
On Thursday, September 19, 2002, at 05:49 PM, John Peacock wrote:[snip]> You can only access local time on the server, which does change based on > whether DST is in effect. Thus, there is a need to know when your offset > to GMT changes. One simplistic way to deal with this is to change the > server's timezone to GMT and always return GMT times.I guess that is why it confused me. My servers are always set to GMT :) I hope to eventually add a deal where my users list their timezone so I can show data based on their local time. But haven't figured out how I should go about doing that.I store all dates and times as number using [math]{[date]}[/math] and [math]{[time]}[/math]. Then I figure I would need to add an offset field to the users record. But that still wouldn't handle DST unless I have a lookup table or include. And considering some places don't change and others change at different times.... that will be fun (I have members from over 90 countries).> JohnDale ------------------------------------------------------------- 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/ dale's stuff

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:

tricky embedded[showifs/hideifs] (w/ code.. long) (2000) Running 2 two WebCatalog.acgi's (1996) Calculating Shipping (1997) Setting up WebCatalog with Retail Pro data (1996) Setting up shop (1997) error: Too many nested [xxx] contexts (1997) WebMerchant Process Orders errors (2000) Pithy questions on webcommerce & siteedit (1997) Total found of each unique field (2003) WebSTAR plugin update (2004) Search results templates (1996) Search puzzle...selectSearch2databases (2004) Error Msg (1997) RE: Major Security Hole IIS NT (1998) WCS Newbie question (1997) Running _every_ page through WebCat ? (1997) Text data with spaces in them... (1997) Frames and WebCat (1997) Assigning carts (1998) Serving images from databases (1998)