Re: displaying New products (Yikes! it's Fixed!)

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13154
interpreted = N
texte = Thanks to John, Olin, Ken and others for helping with this!Turns out I also had an *extra parentheses* around the math...originally, ([math]{[date]}-90[/math]). Seems to be working fine after specifying [math date] and removing the parentheses. Here's the final code: Thanks again, all!Dale Stokdyk World Romance dstokdyk@dvs.mv.comps -- why would the parentheses cause the problem I experienced? Curious minds want to know...John Hill wrote: > > Dale: > > Keep your dates in the mm/dd/yy format: the calculations will be much > easier and your data will be much cleaner. I think the only thing you need > to add to the snippets I saw was [math date] instead of [math] so the > output of the math context is a date rather than a number. Thanks. > > John. > > > John A. Hill Pacific Coast Software > 11770 Bernardo Plaza Ct. #453 * Web tools for Macintosh and WinNT * > San Diego, CA 92128 http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: displaying New products (Yikes! it's Fixed!) (Kenneth Grome 1997)
  2. Re: displaying New products (Yikes! it's Fixed!) (Dale Stokdyk 1997)
Thanks to John, Olin, Ken and others for helping with this!Turns out I also had an *extra parentheses* around the math...originally, ([math]{[date]}-90[/math]). Seems to be working fine after specifying [math date] and removing the parentheses. Here's the final code:[cart]&OrigDatetype=date&geOrigDatedata=[math]{[date]}-90[/math]&OrigDatesort=1&OrigDatesdir=de&max=10> Thanks again, all!Dale Stokdyk World Romance dstokdyk@dvs.mv.comps -- why would the parentheses cause the problem I experienced? Curious minds want to know...John Hill wrote: > > Dale: > > Keep your dates in the mm/dd/yy format: the calculations will be much > easier and your data will be much cleaner. I think the only thing you need > to add to the snippets I saw was [math date] instead of [math] so the > output of the math context is a date rather than a number. Thanks. > > John. > > > John A. Hill Pacific Coast Software > 11770 Bernardo Plaza Ct. #453 * Web tools for Macintosh and WinNT * > San Diego, CA 92128 http://www.smithmicro.com Dale Stokdyk

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 6.0 & MAC OS X Server 10.4.10 (2007) Another date range search Q (2002) Preserving form data (1999) creating a ShipCosts database (1997) [WebDNA] How to generate md5 hash on linux (2009) Using Cookie for client specific info? (1997) HMAC-MD5 hash -- what the... (2003) WebCatalog can't find database (1997) Re:quit command on NT (1997) There's a bug in the math context ... (1997) Shipcost lookup? (1997) suffix mapping for NT? (1997) WebCat2 - [format thousands] (1997) FoundItems Question (1998) [ot] ascii values for lf and cr (2001) Zip Code Search (2000) WebDNA-Talk Digest mode broken (1997) Web Logs (1998) Question about replacing words (1998) Multiple SSL Keys (1998)