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 myShipdate 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:
John:I tried your suggestion but still can't get a comparison. It may be that myShipdate 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:
Users and groups for local directories (1999)
Question About XML Style Syntax (2000)
2nd WebCatalog2 Feature Request (1996)
How do I get data out of an Orderfile... (2001)
No more misunderstanding ... yay! :) (1997)
WebMerchant when CC network is down (1998)
[WebDNA] Format Days_To_Date (2008)
Storebuilder Seems to have just died (2003)
Uploading stuff along with variables (2006)
[searchString] (1997)
Practice runs ? (1997)
[WebDNA] Apache module not working (2017)
FM 4.1 and Webcat? (1998)
Searching multiple records for certain info (2000)
AOL and referrers on target=_blank (2000)
taxTotal (1997)
can WC render sites out? (1997)
WebCat2b12--[searchstring] bug (1997)
retain raw [cart] submitted value (2004)
SEARCH RESULTS (1998)