ANother SHOWIF problem

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13453
interpreted = N
texte = In my database, I have divided the on sale date of an item into month (1-12), day (1-31), and year (01-99) fields (for a number of reasons). If the current date is before the on sale date, I'd like to display some info (so anything past September 16th will display the on sale date).For some reason, the following code (which is inside a [SEARCH] context) *always* displays the on sale date.[SHOWIF [MATH][DATE][/MATH]<[MATH]{[MTH]/[DAY]/[YR]}[/MATH]]On sale [MTH]/[DAY]/[YR]
[/SHOWIF]My date pref is set to %m/%d/%Y I've tried it with WebCat 2.0 and 2.01. The clock on the web server is correct.ANy ideas?MichaelMichael Winston *By Phone!: (503)/652/8815 x341 Internet Coordinator *By e-mail!: michaelw@dhorse.com Dark Horse Comics, Inc. *By web!: http://www.dhorse.com/ Associated Messages, from the most recent to the oldest:

    
  1. FW: ANother SHOWIF problem (Marc Eagle 1997)
  2. FW: ANother SHOWIF problem (Marc Eagle 1997)
  3. RE: ANother SHOWIF problem (Michael Winston 1997)
  4. RE: ANother SHOWIF problem (Marc Eagle 1997)
  5. Re: ANother SHOWIF problem (Michael Winston 1997)
  6. Re: ANother SHOWIF problem (Kenneth Grome 1997)
  7. Re: ANother SHOWIF problem (Kenneth Grome 1997)
  8. ANother SHOWIF problem (Michael Winston 1997)
In my database, I have divided the on sale date of an item into month (1-12), day (1-31), and year (01-99) fields (for a number of reasons). If the current date is before the on sale date, I'd like to display some info (so anything past September 16th will display the on sale date).For some reason, the following code (which is inside a [search] context) *always* displays the on sale date.[SHOWIF [math][date][/MATH]<[math]{[MTH]/[DAY]/[YR]}[/MATH]]On sale [MTH]/[DAY]/[YR]
[/SHOWIF]My date pref is set to %m/%d/%Y I've tried it with WebCat 2.0 and 2.01. The clock on the web server is correct.ANy ideas?MichaelMichael Winston *By Phone!: (503)/652/8815 x341 Internet Coordinator *By e-mail!: michaelw@dhorse.com Dark Horse Comics, Inc. *By web!: http://www.dhorse.com/ Michael Winston

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:

RE: Signal Raised (1997) Multiple cart additions (1997) Searching (second post) (1999) Count regular expressions in a file (2007) still having shipCost.db Problem (1997) LetterRip and WebCat & more (1998) Is Webcatalog 2.1 NT Ready? (1998) New Site Announcement: MusicianStore.com goes live with (1998) RE: Missing contexts on NT (1997) Major Security Hole IIS NT (1998) Stopping bad HTML propagation ? (1997) Fedora Core 2 - SOLVED (2005) MacAuthorize Problem (1998) [WebDNA] RESTART WebDNA (2016) How to archive....? (1998) Cookies and webcat (1997) [BULK] [WebDNA] Can WebDNA corrupt a db? (2012) WebDNA update from Smith Micro (2002) Upgrading old WebCat Database Files (1997) REPOST: Overwiting SKU in Cart (2002)