Re: Showif date range comparison

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24070
interpreted = N
texte = John: I tried your suggestion but still can't get a comparison. It may be that my Shipdate variable is defined as a date and the week1 variable as a number. How do I compare the two? Ben[showif [Shipdate]>[week1]][Minutes][/showif]---------- >From: John Jakovich >To: WebDNA-Talk@smithmicro.com >Subject: Re: Showif date range comparison >Date: Wed, Feb 24, 1999, 5:41 PM >> >> >> [math date] week1={01/01/1999}[/math] >> [format days_to_date %m/%d/%Y][math] >>week2=[week1]+7[/math][/format] >>(and so on) >> >> >> [showif [Shipdate]ge[week1]][Minutes][/showif] > > > > Hello, I have not tested your code but right away I can tell you that you > need to insert a > for ge. > > [showif [Shipdate]>[week1]][Minutes][/showif] > > In a showif context you can use the < and > signs. Try that and see if > your search works out better. For more info on allowable stuff in a > [showif] look here: > http://207.67.226.106/WebCatalog/WebCatReference/ShowIfContext.html. > Good luck. > > > John Jakovich/Support Assistant | ==== eCommerce and Beyond ==== > Pacific Coast Software | WebCatalog, WebMerchant, > 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, > San Diego, CA 92128 | Typhoon > 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ > > > Associated Messages, from the most recent to the oldest:

    
  1. Re: Showif date range comparison (Kenneth Grome 1999)
  2. Re: Showif date range comparison (es-sleestak 1999)
  3. Re: Showif date range comparison (Ben Weinberg 1999)
  4. Re: Showif date range comparison (Kenneth Grome 1999)
  5. Re: Showif date range comparison (Ben Weinberg 1999)
  6. Re: Showif date range comparison (John Jakovich 1999)
  7. Showif date range comparison (Ben Weinberg 1999)
John: I tried your suggestion but still can't get a comparison. It may be that my Shipdate variable is defined as a date and the week1 variable as a number. How do I compare the two? Ben[showif [Shipdate]>[week1]][Minutes][/showif]---------- >From: John Jakovich >To: WebDNA-Talk@smithmicro.com >Subject: Re: Showif date range comparison >Date: Wed, Feb 24, 1999, 5:41 PM >> >> >> [math date] week1={01/01/1999}[/math] >> [format days_to_date %m/%d/%Y][math] >>week2=[week1]+7[/math][/format] >>(and so on) >> >> >> [showif [Shipdate]ge[week1]][Minutes][/showif] > > > > Hello, I have not tested your code but right away I can tell you that you > need to insert a > for ge. > > [showif [Shipdate]>[week1]][Minutes][/showif] > > In a showif context you can use the < and > signs. Try that and see if > your search works out better. For more info on allowable stuff in a > [showif] look here: > http://207.67.226.106/WebCatalog/WebCatReference/ShowIfContext.html. > Good luck. > > > John Jakovich/Support Assistant | ==== eCommerce and Beyond ==== > Pacific Coast Software | WebCatalog, WebMerchant, > 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, > San Diego, CA 92128 | Typhoon > 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ > > > Ben Weinberg

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:

Checkboxes (1997) PCS Frames (1997) OS X (2000) Running _every_ page through WebCat-error.html (1997) Ok here is a question? (1997) Quick Question (1997) SSL, WebSTAR, WebCatalog (1998) [OT] Test (2003) Emailer problem (2000) Project 2 (1998) Generating Report Totals (1997) Requiring that certain fields be completed (1997) Where has WebDNA shown up in your life? (2003) Logout? (1998) Cannot calculate prices (1997) greater than or equal to (1997) AW: AW: Credit card processing - UK (1997) [sendmail] on NT? (1997) WebCat2 - storing unformatted date data? (1997) displaying New products (using [date]) (1997)