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:

Encrypt/Decrypt (2007) Shell script within a sandbox (2005) Need help (1998) MacActivity and PCS (1997) ShowNext Command (1997) upgrading (1997) Running a store on BOTH http and https (1998) PIXO (1997) jpeg upload compression (2002) WebDNA HitLogger available (was Signal Raised Error) (1997) Help! WebCat2 bug (1997) WebCat b15 Mac plug-in (1997) Getting total number of items ordered (1997) Re:2nd WebCatalog2 Feature Request (1996) Text data with spaces in them... (1997) Bug? (1997) X etc.... (1999) Variable prices and Formulas.db (1997) RE: Loss in form (1998) Problems with [Search] param - Mac Plugin b15 (1997)