GMT Date/Time

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29548
interpreted = N
texte = I use routines to do it myself, but it would be nice to have the commands:[DATE Type=GMT] [TIME Type=GMT]BTW I popped this in globals as gmt.inc and it gives me the corrected dates/times. This is set for CST so set it for your own zone. I use it for cookies and compatiblity with my logs.[math show=F]GMTOffset=6[/math] [!]Set your own GMT Offset Above, EST=5 CST=6 MST=7 PST=8[/!] [math show=F]GMTdate={[date]};GMTtime={[time]}+(GMTOffset*3600)[/math] [showif [GMTtime]>86399][math show=F]GMTDate=GMTdate+1;GMTtime=GMTtime-86400[/math][/showif]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.> From: Kenneth Grome > Reply-To: (WebCatalog Talk) > Date: Thu, 23 Mar 2000 09:08:52 -1000 > To: (WebCatalog Talk) > Subject: Re: Encryption > >> will string encrypted with CyberCash with a given seed be the same every >> time? > > If you're asking if [encrypt seed=1234567]some value to encrypt[/encrypt] will > return the same string every time, the answer is no. > > ================================ > Kenneth Grome, WebDNA Consultant > 808-737-6499 http://webdna.net > ================================ > > > > > > ------------------------------------------------------------- > 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 > ------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. GMT Date/Time (Bob Minor 2000)
I use routines to do it myself, but it would be nice to have the commands:[DATE Type=GMT] [TIME Type=GMT]BTW I popped this in globals as gmt.inc and it gives me the corrected dates/times. This is set for CST so set it for your own zone. I use it for cookies and compatiblity with my logs.[math show=F]GMTOffset=6[/math] [!]Set your own GMT Offset Above, EST=5 CST=6 MST=7 PST=8[/!] [math show=F]GMTdate={[date]};GMTtime={[time]}+(GMTOffset*3600)[/math] [showif [GMTtime]>86399][math show=F]GMTDate=GMTdate+1;GMTtime=GMTtime-86400[/math][/showif]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.> From: Kenneth Grome > Reply-To: (WebCatalog Talk) > Date: Thu, 23 Mar 2000 09:08:52 -1000 > To: (WebCatalog Talk) > Subject: Re: Encryption > >> will string encrypted with CyberCash with a given seed be the same every >> time? > > If you're asking if [encrypt seed=1234567]some value to encrypt[/encrypt] will > return the same string every time, the answer is no. > > ================================ > Kenneth Grome, WebDNA Consultant > 808-737-6499 http://webdna.net > ================================ > > > > > > ------------------------------------------------------------- > 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 > ------------------------------------------------------------- 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 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:

passing info to correct frame (2000) serial number dishing (1997) SSL with IIS 4.0 (1998) Text limits in NT version? (1997) Sku numbers (1997) taxTotal confusion (1998) RE: E-mailer error codes (1997) WebSTAR and WebSTAR/SSL with WebCatalog plugins (1998) [math] storage of variables (1997) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) Sense/Disallow HTML tags during $Append (1997) Return records from another (1997) How Many SKU's is enough? (1997) WCS Newbie question (1997) [quantity] within formulas (1997) 2.0 Beta (1997) Include a big block of text (1997) BR (1997) WebCat2b13 Command Reference Doc error (1997) founditems / writefile (2005)