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:

Checking for blank form fields 2nd idea (1998) refreshing IE with posted .tmpl (1997) question about checkboxes (1999) Verifying both name and password (was: New Problem) (1997) Can't use old cart file (was One more try) (1997) Not really WebCat (1997) [WebDNA] OT - Wordpress Shopping Cart - will pay (2010) limitation found on group searching (1997) notification solutions (1997) DataBaseHelper Flawed (1997) Problem with ShoppingCart.tpl refresh (2000) Cart questions (1997) [defined]ish (1997) First n words (2000) encryption seeds xing (1998) Newbie Tax Question (1997) WebCat2: Items xx to xx shown, etc. (1997) installing webcatalog problem. HELP! (1998) Almost a there but..bye bye NetCloak (1997) Weird problems with [SHOWIF]s (1997)