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:
Max Record length (1997)
[OT] XServe networking PITA (2004)
WebCat2: Found Items syntax, etc. (1997)
RE: Adding headers to email (1997)
Bug Report, maybe (1997)
WebCatalog and WebTen (1997)
WebCat2.0 acgi vs plugin (1997)
Targeted Redirect (1999)
SiteGuard Use Question (1997)
[WebDNA] another test post (2014)
Exclamation point (1997)
WebCat2b12 - nesting [tags] (1997)
Speed Optimization - Mac (1997)
Base 64 encoding (2001)
WebCat and AppleShare 6.0 (1998)
Erotic Sites (1997)
Search for 20 finds 2000, 200 Why? (1997)
[Summary] re: Emailer setup (1997)
[WebDNA] Using WebDNA with MAMP (2010)
WebCat2b13 Command Reference Doc error (1997)