Re: Laying an egg.

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20641
interpreted = N
texte = >At 06:59 AM 10/23/98, you wrote: >Can anyone explain why on my machine the following won't work? Does it work for anyone else? >[showif [math date]{11/22/96}+{00/00/000}[/math]<[date]] Bingo! [/showif] Thanks everyone! hmmm...interesting. Well, not sure if this would make a difference, but you're missing a 0 in the year 00/00/000***0***.You may want to wrap the [date] context on the right side of the argument in a [math] context as well. Right now, I think the left side is in # of seconds, and the right side is in xx/xx/xxxx which would be hard to compare. If I understand the date contexts correctly, the mere fact of doing [math date][date[[/math] converts the date into seconds from year 1, and then you can do a regular comparison (<,>,=)So, in summary (damn I'm longwinded), add a 0 to the year in the 00/00/0000, and replace the date on the right side of the < with [math date][date][/math] Howard Wolosky ============Lead Programmer / Webmaster www.willitwork.com Will It Work presented by Lab 2K -The World's Largest Year 2000 Compliance Search Engine Associated Messages, from the most recent to the oldest:

    
  1. Re: Laying an egg. (The Mooseman 1998)
  2. Re: Laying an egg. (Peter Ostry 1998)
  3. Re: Laying an egg. (Howard Wolosky 1998)
  4. Re: Laying an egg. (Bob Minor 1998)
  5. Laying an egg. (The Mooseman 1998)
>At 06:59 AM 10/23/98, you wrote: >Can anyone explain why on my machine the following won't work? Does it work for anyone else? >[showif [math date]{11/22/96}+{00/00/000}[/math]<[date]] Bingo! [/showif] Thanks everyone! hmmm...interesting. Well, not sure if this would make a difference, but you're missing a 0 in the year 00/00/000***0***.You may want to wrap the [date] context on the right side of the argument in a [math] context as well. Right now, I think the left side is in # of seconds, and the right side is in xx/xx/xxxx which would be hard to compare. If I understand the date contexts correctly, the mere fact of doing [math date][date[[/math] converts the date into seconds from year 1, and then you can do a regular comparison (<,>,=)So, in summary (damn I'm longwinded), add a 0 to the year in the 00/00/0000, and replace the date on the right side of the < with [math date][date][/math] Howard Wolosky ============Lead Programmer / Webmaster www.willitwork.com Will It Work presented by Lab 2K -The World's Largest Year 2000 Compliance Search Engine Howard Wolosky

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:

Never mind ...How would you sort this? (2000) Major bug report on rootbeer (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) emailer (1997) Replace/Commit not Replacing/Commiting (2000) Server Traffic Simulation (1998) remotely add + sign (1997) MacActivity and PCS (1997) RAM problems, [appendfile] problems (1998) using WC to create a DB online (2000) database size? (1997) did I miss anything (1997) Tab Charactor (1997) RE: Web*SSL and WebCatalog (1997) Test (2000) problems with WebCat-Plugin (1997) .htaccess to make WebDNA serve HTML (2007) Highlighting words found in a keyword search (2003) showif and cart (1997) Exclamation point (1997)