Re: Showif dates...
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45933
interpreted = N
texte = Suppose I should read:[If {[date]} > {9/7/1963}] Dates must be enclosed in curly braces todistinguish them from regular numbers.Sorry about all of this.----- Original Message -----From: Inkblot Media
To: WebCatalog Talk Sent: Tuesday, December 24, 2002 3:03 PMSubject: Re: Showif dates...> Tim's version and my version of the same code brings a question to mind.>> I am of the mindset the you would need the math (like Tim used), but inthe> WebDocs under the if statement it shows this as an example:>> [If (([username]=Grant) | ([grandTotal]<100)) &({[date]}<{2/15/2000})]>> where the dates is between the {} but without the math context. Which is> correct?>>>>> ----- Original Message -----> From: Inkblot Media > To: WebCatalog Talk > Sent: Tuesday, December 03, 2002 2:53 PM> Subject: Re: Showif dates...>>> > OOps> >> > I 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/>>> -------------------------------------------------------------> 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:
Suppose I should read:[If {[date]} > {9/7/1963}] Dates must be enclosed in curly braces todistinguish them from regular numbers.Sorry about all of this.----- Original Message -----From: Inkblot Media To: WebCatalog Talk Sent: Tuesday, December 24, 2002 3:03 PMSubject: Re: Showif dates...> Tim's version and my version of the same code brings a question to mind.>> I am of the mindset the you would need the math (like Tim used), but inthe> WebDocs under the if statement it shows this as an example:>> [If (([username]=Grant) | ([grandTotal]<100)) &({[date]}<{2/15/2000})]>> where the dates is between the {} but without the math context. Which is> correct?>>>>> ----- Original Message -----> From: Inkblot Media > To: WebCatalog Talk > Sent: Tuesday, December 03, 2002 2:53 PM> Subject: Re: Showif dates...>>> > OOps> >> > I 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/>>> -------------------------------------------------------------> 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:
Macos8.6 to X migration problems (2000)
[WebDNA] Image Magick and Webdna (2009)
[WebDNA] Error installing WebDNA on Ubuntu (2016)
[WebDNA] test (2017)
Intermitent problem using [referrer] (1997)
WC2b12: Yes, Formulas.db is for real (1997)
WCf2 and nested tags (1997)
WebCat2b15MacPlugin - showing [math] (1997)
What am I missing (1997)
Trigger options (2000)
Errata: WCS Newbie question (1997)
Whats going on with my SERIAL NUMBER??? (1998)
HUGE DATABASES (1998)
Secure server question (1997)
What is WebDNA (1997)
Bug or syntax error on my part? (1997)
Dieresis in [sendmail] (1999)
[removehtml]? (2000)
Gil's in the lead (1999)
[WebDNA] Google map mashups (2010)