Re: WebCat2b13MacPlugIn - syntax to convert date

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10621
interpreted = N
texte = Nothing to do with Carts, straight data base stuffUsing a post form and entering a date, but not todays date. Asking user to input something like 03/17/97. I can convert it to seconds from I guess 01/01/01, but trying to get it back to 97/03/17 so I can do an easy sort in sdir=de. when doing a [format date %y/%m/%d][form.newsortdate][/format]. I get an answer of 03/01/01 where [form.newsortdate]=the converted date. Is what I am trying to do possible. And if it is where is my thinking gone south. Or should I just store the converted date and sort on it. I never did declare any of these variables type=date in any of my calculations.=============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== ------------------------------------ To leave this talk list send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Associated Messages, from the most recent to the oldest:

    
  1. Re: WebCat2b13MacPlugIn - syntax to convert date (Grant Hulbert 1997)
  2. Re: WebCat2b13MacPlugIn - syntax to convert date (grichter@panavise.com (Gary Richter) 1997)
Nothing to do with Carts, straight data base stuffUsing a post form and entering a date, but not todays date. Asking user to input something like 03/17/97. I can convert it to seconds from I guess 01/01/01, but trying to get it back to 97/03/17 so I can do an easy sort in sdir=de. when doing a [format date %y/%m/%d][form.newsortdate][/format]. I get an answer of 03/01/01 where [form.newsortdate]=the converted date. Is what I am trying to do possible. And if it is where is my thinking gone south. Or should I just store the converted date and sort on it. I never did declare any of these variables type=date in any of my calculations.=============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== ------------------------------------ To leave this Talk List send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ grichter@panavise.com (Gary Richter)

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:

WebCat2b12 CGI Mac - [shownext] problem (1997) Need relative path explanation (1997) Database Fields (1997) [Semi-OT] Eaaaaaasy OSX FTP (2003) OT : Site speed feedback (2002) Math Help (2000) There's a bug in the math context ... (1997) Preferred Web Design Tool? (1999) carriage returns in data (1997) Forcing price recalculation in shopping cart (1998) RE: Error -108 (1997) thankyou.tmpl (1997) WebCat2.0 [format thousands .0f] no go (1997) Support ?? (1997) Looping Search (2006) WebDNA Solutions ... sorry! (1997) MacAuthorize and WebMerchant (1997) Converting characters to numbers ... (1997) SMSI: WebDNA Versions? (2002) raw=T is broken in [include] (1997)