Re: Showif dates...

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45931
interpreted = N
texte = OOpsI forgot a ) at the end of the if. Should be:[If (({[date]}>{12/14/2002}) & ({[date]}<{12/26/2002}))] [then] HOLIDAY MESSAGE [/then] [/if]----- Original Message ----- From: Inkblot Media To: WebCatalog Talk Sent: Tuesday, December 03, 2002 2:50 PM Subject: Re: Showif dates... > I would do this > > [If (({[date]}>{12/14/2002}) & ({[date]}<{12/26/2002})] > [then] > HOLIDAY MESSAGE > [/then] > [/if] > > or > > [showif {[date]}>{12/14/2002}] > [showif {[date]}<{12/26/2002}] > > HOLIDAY MESSAGE > > [/showif] > [/showif] > > > ----- Original Message ----- > From: Claude Gelinas > To: WebCatalog Talk > Sent: Tuesday, December 03, 2002 2:22 PM > Subject: Fwd: Showif dates... > > > > > Hi Everyone, > > > > > > Let's say I wanted to show a Happy Holidays message from Dec. 15th > > > to the 25th such as: > > > > > > [showif [getchars start=1&end=5][Date][/getchars]>15/12] [showif > > > [getchars start=1&end=5][Date][/getchars]<25/12]Happy Holidays > > > Everyone[/showif][/showif] > > > > > > Am I doing this the right way or is there another way to do it? > > > > > > Claude > > > > > > ------------------------------------------------------------- > > This message is sent to you because you are subscribed to > > the mailing list . > > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Showif dates... (Donovan Brooke 2002)
  2. Re: Showif dates... (Tim Robinson 2002)
  3. Re: Showif dates... (Grant Hulbert 2002)
  4. Re: Showif dates... (Inkblot Media 2002)
  5. Re: Showif dates... (Inkblot Media 2002)
  6. Re: Showif dates... (Inkblot Media 2002)
  7. Re: Showif dates... (Inkblot Media 2002)
  8. Re: Showif dates... (Tim Robinson 2002)
  9. Fwd: Showif dates... (Claude Gelinas 2002)
OOpsI forgot a ) at the end of the if. Should be:[If (({[date]}>{12/14/2002}) & ({[date]}<{12/26/2002}))] [then] HOLIDAY MESSAGE [/then] [/if]----- Original Message ----- From: Inkblot Media To: WebCatalog Talk Sent: Tuesday, December 03, 2002 2:50 PM Subject: Re: Showif dates... > I would do this > > [If (({[date]}>{12/14/2002}) & ({[date]}<{12/26/2002})] > [then] > HOLIDAY MESSAGE > [/then] > [/if] > > or > > [showif {[date]}>{12/14/2002}] > [showif {[date]}<{12/26/2002}] > > HOLIDAY MESSAGE > > [/showif] > [/showif] > > > ----- Original Message ----- > From: Claude Gelinas > To: WebCatalog Talk > Sent: Tuesday, December 03, 2002 2:22 PM > Subject: Fwd: Showif dates... > > > > > Hi Everyone, > > > > > > Let's say I wanted to show a Happy Holidays message from Dec. 15th > > > to the 25th such as: > > > > > > [showif [getchars start=1&end=5][date][/getchars]>15/12] [showif > > > [getchars start=1&end=5][date][/getchars]<25/12]Happy Holidays > > > Everyone[/showif][/showif] > > > > > > Am I doing this the right way or is there another way to do it? > > > > > > Claude > > > > > > ------------------------------------------------------------- > > This message is sent to you because you are subscribed to > > the mailing list . > > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Inkblot Media

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:

Un[url]ize (1999) [WebDNA] SendMail Problems, 453 (2016) [WebDNA] Middle Question (2015) Odd [math] behaviour (2003) TcpConnect get files on ver. 5.x (2004) [math] show=F exists? (1997) Emailer again & again (1997) Text data with spaces in them... (1997) Another question about credit cards (1997) RE: Re:Signal Raised (1997) RAM variables (1997) totals (1997) PCS Frames (1997) search engine friendly URLS (Mac) (1998) Search returns all, not 20 (1997) [Semi-OT] Eaaaaaasy OSX FTP (2003) OT: WebDNA and LINUX (2004) Alternating colors (1997) Rhapsody? (1997) Emailer not working (1998)