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 RobinsonIDFK Web Developmentstim@idfk.com.au114a/40 Yeo StreetNeutral Bay 2089AustraliaPhone +612 9908 2134Fax +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:
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 RobinsonIDFK Web Developmentstim@idfk.com.au114a/40 Yeo StreetNeutral Bay 2089AustraliaPhone +612 9908 2134Fax +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)