Re: Time code!

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43565
interpreted = N
texte = On 9/19/02 8:53 AM, John Peacock wrote:> What O/S do you have that doesn't know timezones? Every version of Unix, > NT/W2K, and as far as I know classic Mac O/S all support timezones. Even VMS > supports timezones (though not as easily as more modern O/S's). So what would be the proper way to set a cookie so that it expired 1 hour from now. In the past I would set it like so:[SETCOOKIE name=cookieName&value=sample&expires=[format days_to_date %A, %d-%b-%Y][math]{[date]}+funky calc to compensate for midnight[/math][/format] [math time]{[time]}+{06:00:00}[/math] GMT&path=/&domain=www.yourserver.com]I am 5 hours behind gmt time right now so the cookie would expire an hour later. When DST ends then I will be 6 hours behind gmt time and would need to change the cookie set for [math time]{[time]}+{07:00:00}[/math] or my cookies will expire right when they are set.Am I missing some basic premise here? Robert Minor Director of Internet Services ------------------------------------------------------------ Cybermill Communications http://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development and hosting services on Macintosh, Windows NT, Unix, and AS/400.All your websites are belong to us! ------------------------------------------------------------- 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 9/19/02 8:53 AM, John Peacock wrote:> What O/S do you have that doesn't know timezones? Every version of Unix, > NT/W2K, and as far as I know classic Mac O/S all support timezones. Even VMS > supports timezones (though not as easily as more modern O/S's). So what would be the proper way to set a cookie so that it expired 1 hour from now. In the past I would set it like so:[SETCOOKIE name=cookieName&value=sample&expires=[format days_to_date %A, %d-%b-%Y][math]{[date]}+funky calc to compensate for midnight[/math][/format] [math time]{[time]}+{06:00:00}[/math] GMT&path=/&domain=www.yourserver.com]I am 5 hours behind gmt time right now so the cookie would expire an hour later. When DST ends then I will be 6 hours behind gmt time and would need to change the cookie set for [math time]{[time]}+{07:00:00}[/math] or my cookies will expire right when they are set.Am I missing some basic premise here? Robert Minor Director of Internet Services ------------------------------------------------------------ Cybermill Communications http://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development and hosting services on Macintosh, Windows NT, Unix, and AS/400.All your websites are belong to us! ------------------------------------------------------------- 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/ Bob Minor

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:

WebCatalog 4.0 Users that want to talk to the Media.... (2000) SetHeader not Working (2006) (no subject) (1997) problems with 2 tags shakur (1997) problems with 2 tags shakur (1997) Non-Cart Files in Shopping Cart Folder (1997) bannerads example idiot (1997) Running _every_ page through WebCat-error.html (1997) [showif [numfound]=0]? (2000) Great product and great job ! (1997) WebCatalog/WebMerchant Manuals Available (1998) Size limit for tmpl editor ? (1997) email and W* 4.x (2000) Updating Prices db (still not working) (1999) [WriteFile] problems (1997) purchase plugin (1996) WebCat for Site Search? (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Initiating NewCart (1997) Can WebDNA do this? (2000)