Re: [WebDNA] timestamp conversion

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 107009
interpreted = N
texte = Aaron Michael Kaczmarek wrote: > Does anyone have a script that will generate standard timestamps? > i.e. Wed, 08 Jun 2011 18:46:44 +0000 > > as well as the reverse, to convert this timestamp into webdna format? > (this is really what I'm interested in) You can write one pretty easy.. Something like: [format days_to_date %A, %d %b %Y][math]{[date]}[/math][/format] [math time]{[time]}[/math] +0000 To convert it back, I don't know of a "short cut" off hand.. so I think you'll have to parse it back as in how Ken suggested. Donovan -- Donovan Brooke **[Square Bracket Utopia]** Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] timestamp conversion (Aaron Michael Kaczmarek 2011)
  2. Re: [WebDNA] timestamp conversion (Kenneth Grome 2011)
  3. Re: [WebDNA] timestamp conversion (Marc Thompson 2011)
  4. Re: [WebDNA] timestamp conversion (Donovan Brooke 2011)
  5. [WebDNA] timestamp conversion (Aaron Michael Kaczmarek 2011)
Aaron Michael Kaczmarek wrote: > Does anyone have a script that will generate standard timestamps? > i.e. Wed, 08 Jun 2011 18:46:44 +0000 > > as well as the reverse, to convert this timestamp into webdna format? > (this is really what I'm interested in) You can write one pretty easy.. Something like: [format days_to_date %A, %d %b %Y][math]{[date]}[/math][/format] [math time]{[time]}[/math] +0000 To convert it back, I don't know of a "short cut" off hand.. so I think you'll have to parse it back as in how Ken suggested. Donovan -- Donovan Brooke **[Square Bracket Utopia]** Donovan Brooke

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:

Will webdna execute before a [redirect]? (1999) Summing fields (1997) 4.5 Upgrade (2003) WebCatalog 2.1b4/Mac available (1997) Running 2 two WebCatalog.acgi's (1996) Using Cookie for client specific info? (1997) Roundup function? (1997) Resume Catalog ? (1997) carriage returns in data (1997) Cyberstudio and WebDNA (1997) RE: Web*SSL and WebCatalog (1997) HELP-1!!! (1998) appleshare/ip (1997) showifs (1999) Forcing price recalculation in shopping cart (1998) Results table formatting (2003) Help!!!! Purchases not going through! (1997) WebCat2 - [format thousands] (1997) WebCatalog 2.0 b 15 mac (1997) RE: creating writefile data from a nested search (1997)