Re: [showif] and equality
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20297
interpreted = N
texte = >I'm having a small problem with the following code:>>[showif ([math time]({[time]} - {[t]})[/math]) < [math>time]{00:10:00}[/math]]>[/showif]>>What I want to do is have a list from a database of records whose last>update was within the last ten minutes. Is this code even possible?Regardless of your actual webdna code, you also must add the date. Times are repeated daily, and if you do it the way you're trying to do it, without also comparing the date, you're going to get returned records that match updates on other days but within the same time period, if any exist ...Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
>I'm having a small problem with the following code:>>[showif ([math time]({
[time]} - {[t]})[/math]) < [math>time]{00:10:00}[/math]]>[/showif]>>What I want to do is have a list from a database of records whose last>update was within the last ten minutes. Is this code even possible?Regardless of your actual webdna code, you also must add the date. Times are repeated daily, and if you do it the way you're trying to do it, without also comparing the date, you're going to get returned records that match updates on other days but within the same time period, if any exist ...Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Kenneth Grome
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:
Shopping problems with 2.1b3 acgi (1997)
WebCat2 several catalogs? (1997)
Can this be done? (2003)
problems with 2 tags (1997)
Another new bug found ... (2000)
Setting up WebCatalog with Retail Pro data (1996)
Upgrade to wsV (2004)
month or year from date field in lineitems? (1998)
Emailer setup (1997)
Emailer (1997)
[NT] ie 4.0 required (1997)
different show next (1997)
Shed some light on web delivery? (2000)
Running 2 two WebCatalog.acgi's (1996)
useful guidelines =] vs !] (2007)
Cart/ Form Use (1998)
WebCatalog for guestbook ? (1997)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
[WebDNA] Screen Resolution - detection & redirect (2012)
2 databases (1998)