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:
TeaRoom Order fields email account remain empty even though thewy are filled. (1997)
Locking up with WebCatalog... (1997)
List Name Change (2002)
Problems getting parameters passed into email. (1997)
searching multiple databases (1997)
Cyberstudio and WebDNA (1997)
TaxRate and ShipCost Problem (1998)
[OT] Bad Hard Drive? (2003)
Multiple Pulldowns/Gary (1997)
possible bug in unix version? (2000)
Bug Report, maybe (1997)
my price won't move (1997)
emailer (1997)
More on the email templates (1997)
Variable prices and Formulas.db (1997)
WebCatalog: Server Will not Stay up & running (2001)
Protect (1997)
RE: [WebDNA] Looking for Govinda (2011)
psst (1997)
[ConvertChars] problem (1997)