Re: Showif dates...

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45929
interpreted = N
texte = Maybe something like this:[If ([math]{[date]}[/math]>[math]{15/12/[date %Y]}[/math]) & ([math]{[date]}[/math]<[math]{26/12/[date %Y]}[/math])]     [Then]Happy Holidays[/Then]     [Else][/Else] [/If] Regards, Tim -- Tim Robinson IDFK Web Developments tim@idfk.com.au 114a/40 Yeo Street Neutral Bay 2089 Australia Phone +612 9908 2134 Fax +612 9908 4837> From: Claude Gelinas > Reply-To: (WebCatalog Talk) > Date: Tue, 03 Dec 2002 17:22:30 > To: (WebCatalog Talk) > 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/ 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)
Maybe something like this:[If ([math]{[date]}[/math]>[math]{15/12/[date %Y]}[/math]) & ([math]{[date]}[/math]<[math]{26/12/[date %Y]}[/math])]     [Then]Happy Holidays[/Then]     [Else][/Else] [/If] Regards, Tim -- Tim Robinson IDFK Web Developments tim@idfk.com.au 114a/40 Yeo Street Neutral Bay 2089 Australia Phone +612 9908 2134 Fax +612 9908 4837> From: Claude Gelinas > Reply-To: (WebCatalog Talk) > Date: Tue, 03 Dec 2002 17:22:30 > To: (WebCatalog Talk) > 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/ Tim Robinson

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:

Simultaneous Users (1999) 2 field showif/hideif's (2002) WebCatalog for Postcards ? (1997) [math date]: Arrrggh! (2003) Limiting user access to .tmpl files (1997) security (1997) Different Email recipients? (1998) Odd [math] behavior (2003) suffix mapping, use of cache, etc. (1997) Search/sort in URL Was: GuestBook example (1997) Trigger Problems (2000) [convertChars] and HTML Tags (1997) Date Sorting (1997) webcat2b12 CGI -- Date comparisons (1997) PCS Frames (1997) customizing the color of user's pages (1997) Plugin or CGI or both (1997) Help! WebCat2 bug (1997) Ken's Data Manager (finally available I think ...) (2005) WebCatalog for Postcards ? (1997)