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:

WebCat Contest (1998) Problems with cybercash (2000) Initiating NewCart (1997) Separate SSL Server (1997) Open Market's Transact & Macintosh (1998) Mac v. NT (1998) remotely add + sign (1997) Extended [ConvertChars] (1997) WebCat2b15MacPlugin - showing [math] (1997) Recursive includes (1998) Math problems (1998) Writefile illegal characters ? (2004) two domains and one cart and database (2000) japanese characters (1997) New Site Announcement (1998) First postarg not taking in $Commands (1997) one item in several different categories? (2000) RequiredFields template (1997) emailer settings and control questions (1997) upload pictures any solution (1999)