Re: MATH TIME

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14876
interpreted = N
texte = >Now it looks like this and still does not work. >What else can be wrong? > >[search db=users1.tab&eqdatedata=[date]] >[founditems] >[showif [time]>[math time]{[time]}-{00:10:00}[/math]] >*[user]
>[/showif] >[/founditems] >[/search]You'll have to try some things to see what's going on here. Break out some of the tags inside there and see what their values are. Simplify the problem and display each of the pieces separately. Something like the following:[date] [time] [math time]{[time]}-{00:10:00}[/math] [showif 12:53:16>12:43:16] correct [/showif] [showif 12:53:16<12:43:16] not correct [/showif]Also, are you trying to use [time] two different ways here? In one case, does it mean the current server time, and in another case, does it mean the value of the [time] field in the database? If so, that's your problem -- WebCatalog can't tell the difference between [time] and [time] (notice how similar they look). It would be a good idea to rename your fieldnames something different.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== 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:

    
  1. Re: MATH TIME (Grant Hulbert 1997)
  2. Re: MATH TIME (natasha 1997)
  3. Re: MATH TIME (Grant Hulbert 1997)
  4. MATH TIME (natasha 1997)
>Now it looks like this and still does not work. >What else can be wrong? > >[search db=users1.tab&eqdatedata=[date]] >[founditems] >[showif [time]>[math time]{[time]}-{00:10:00}[/math]] >*[user]
>[/showif] >[/founditems] >[/search]You'll have to try some things to see what's going on here. Break out some of the tags inside there and see what their values are. Simplify the problem and display each of the pieces separately. Something like the following:[date] [time] [math time]{[time]}-{00:10:00}[/math] [showif 12:53:16>12:43:16] correct [/showif] [showif 12:53:16<12:43:16] not correct [/showif]Also, are you trying to use [time] two different ways here? In one case, does it mean the current server time, and in another case, does it mean the value of the [time] field in the database? If so, that's your problem -- WebCatalog can't tell the difference between [time] and [time] (notice how similar they look). It would be a good idea to rename your fieldnames something different.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== 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/ Grant Hulbert

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:

hierarchy question... (2000) psst (1997) Trigger Validation Text Broken (2003) [WebDNA] Problem saving returned value as a variable (2012) Installation webCatalog (French speakers please help) (1998) WebCatalog books and other resources (2001) Add to Cart & List of Products (1997) Not really WebCat (1997) upload pictures any solution (1999) who are you people (1998) docs for WebCatalog2 (1997) What do the &x=5&y=8 mean? (2002) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Permission denied? (2004) blank page from template (1997) Spell Check (2003) A Couple Photos from the SmithMicro Booth at MacWorld (2000) RAM variables (1997) Solution help needed (1998) wild question (1998)