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:

[WebDNA] [lookup] fails when using [url] to wrap a value for potential "&" char? (2009) Emailer (1997) [WriteFile] problems (1997) WebCommerce: Folder organization ? (1997) Search/sort in URL Was: GuestBook example (1997) webDNA engine creating duplicate lineitems?! (2004) [WebDNA] WebDNA 7 (2011) default value from Lookup (was Grant, please help me) (1997) WebCat2b12plugin - [search] is broken ... not! (1997) WebCat2 - many [carts] on one template page? (1997) 4D Database (1997) Stumpted Again (1997) Error with [applescript] (1999) international time (1997) WebDNA-Talk Digest mode broken (1997) Separate SSL Server (1997) [shippingtotal] in Formulas.db (2002) Virtual hosting and webcatNT (1997) Limit to Field Length in DB (1998) Permissions / Restart WebDNA? (2005)