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 hourfrom 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 formidnight[/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 hourlater. When DST ends then I will be 6 hours behind gmt time and would needto change the cookie set for [math time]{[time]}+{07:00:00}[/math] or mycookies will expire right when they are set.Am I missing some basic premise here?Robert MinorDirector of Internet Services------------------------------------------------------------Cybermill Communicationshttp://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development andhosting 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:
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 hourfrom 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 formidnight[/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 hourlater. When DST ends then I will be 6 hours behind gmt time and would needto change the cookie set for [math time]{[time]}+{07:00:00}[/math] or mycookies will expire right when they are set.Am I missing some basic premise here?Robert MinorDirector of Internet Services------------------------------------------------------------Cybermill Communicationshttp://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development andhosting 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)