Re: Expire Cookie in 8 Hours

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58211
interpreted = N
texte = On 6/4/04 8:23 AM, "John Peacock" wrote: >> Takes optional parameter offset in minutes and returns current date/time in >> GMT long format >> Replace the {5:00:00} with your non-DST offset from GMT >> [/!][math time&show=f]GMT={[date %X]}+{5:00:00}[showif [date >> format=%Z]^Daylight]-{1:00:00}[/showif][/math][!] >> [/!][math time&show=f]NOW={[date %X]}[/math][!] >> [/!][if "[offset]"="[raw][offset][/raw]"][!] >> [/!][then][!] >> [/!] [math show=f]offsettime=0[/math][/then][!] >> [/!][else][!] >> [/!] [math show=f]offsettime=[offset]*60[/math][/else][!] >> [/!][/if][!] So, an 8 hour offset should be fed as: [text]offset=480[/text] (8 x 60 minutes) Right? ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Expire Cookie in 8 Hours ( John Peacock 2004)
  2. Re: Expire Cookie in 8 Hours ( Clint Davis 2004)
  3. Re: Expire Cookie in 8 Hours ( John Peacock 2004)
  4. Expire Cookie in 8 Hours ( Clint Davis 2004)
On 6/4/04 8:23 AM, "John Peacock" wrote: >> Takes optional parameter offset in minutes and returns current date/time in >> GMT long format >> Replace the {5:00:00} with your non-DST offset from GMT >> [/!][math time&show=f]GMT={[date %X]}+{5:00:00}[showif [date >> format=%Z]^Daylight]-{1:00:00}[/showif][/math][!] >> [/!][math time&show=f]NOW={[date %X]}[/math][!] >> [/!][if "[offset]"="[raw][offset][/raw]"][!] >> [/!][then][!] >> [/!] [math show=f]offsettime=0[/math][/then][!] >> [/!][else][!] >> [/!] [math show=f]offsettime=[offset]*60[/math][/else][!] >> [/!][/if][!] So, an 8 hour offset should be fed as: [text]offset=480[/text] (8 x 60 minutes) Right? ------------------------------------------------------------- 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://webdna.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:

OFF-TOPIC: Check www.godaddy.com for me ... (2003) unsubscribe, try 2 (2000) [append] vs. [appendfile] delta + question? (1997) emailer on Windows Beta 18 (1997) [WebDNA] Cloud hosting and local development (2019) is sku a REQUIRED field on NT (1997) Database Program (1997) Bug Report, maybe (1997) [WebDNA] File Include HTM (2008) RE: [WebDNA] WebSite Examples (2008) redirect with frames (1997) Bug or syntax error on my part? (1997) WebCatalog & Mac OS X (client) vs. Redhat Linux (2001) RE: Subtotal help (1997) Locking up with WebCatalog... (1997) duplicate cart numbers (2002) functions... (2005) Plugin or CGI or both (1997) Getting total number of items ordered (1997) Spreadsheet App pref. [OT] (2001)