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:
WebCatalog can't find database (1997)
v6 Development copy download link seems to be offline? (2004)
[ListFiles] & [loop] (1998)
New public beta available (1997)
Sorting by SKU Not Working (1998)
webmerchant problems (2000)
BR (1997)
New Guestbook Source (1997)
Max Record length (1997)
Showing unopened cart (1997)
WebMerchant 1.6 and SHTML (1997)
2.1.5: Too Many Nested [xxx] (1998)
Buggy Code (1998)
Deleting Multiple Database Records based on Checkbox (1998)
OT: How much is too much? I can never remember the answer. (2002)
Summing fields (1997)
WCS Newbie question (1997)
Training Announcement (2004)
carriage returns in data (1997)
Sendmail Excel attachment (2003)