Re: Showif date > other date
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 56742
interpreted = N
texte = This will do the trick ...[ShowIf [Math]{[currentLoginDate]}[/Math]>[Math]{[previousLoginDate]}[/Math]][redirect url=index.html?message=oldSession][/ShowIf]On 12 Mar 2004, at 04:44 AM, Alan White wrote:> Hi>> I thought I would try some pre-emptive posting here as I am not sure > about> something...>> How would I implement the following code:->> [text show=f]currentLoginDate=[date format=d%/m%/Y%][/text]> [text show=f]previousLoginDate=[lookup =etc][/text]> [showif [currentLoginDate]>[previousLoginDate]]> [redirect url=index.html?message=oldSession]> [/showif]>> Do I have to specify that the dates are dates at all as I would do in a> search?>> TIA>> Alan>>> -------------------------------------------------------------> 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/>>RegardsStuart Tremainidfk web developments114a/40 yeo street neutral bay 2089 australiat +612 9908 2134f +612 9908 4837-------------------------------------------------------------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:
This will do the trick ...[ShowIf [math]{[currentLoginDate]}[/Math]>[math]{[previousLoginDate]}[/Math]][redirect url=index.html?message=oldSession][/ShowIf]On 12 Mar 2004, at 04:44 AM, Alan White wrote:> Hi>> I thought I would try some pre-emptive posting here as I am not sure > about> something...>> How would I implement the following code:->> [text show=f]currentLoginDate=[date format=d%/m%/Y%][/text]> [text show=f]previousLoginDate=[lookup =etc][/text]> [showif [currentLoginDate]>[previousLoginDate]]> [redirect url=index.html?message=oldSession]> [/showif]>> Do I have to specify that the dates are dates at all as I would do in a> search?>> TIA>> Alan>>> -------------------------------------------------------------> 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/>>RegardsStuart Tremainidfk web developments114a/40 yeo street neutral bay 2089 australiat +612 9908 2134f +612 9908 4837-------------------------------------------------------------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/
Stuart Tremain
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:
Help on how to store calculated value (2002)
wired [protect] action? (1998)
Grep -- remove extra returns first (2003)
OT: Mobile Phone "mailto:" (2008)
Shipping by order total (2003)
WebCatalog/Mac 2.1b2 New Features (1997)
WC2b12: Yes, Formulas.db is for real (1997)
[WebDNA] Format Days_To_Date (2008)
WebCatalog NT beta 18 problem (1997)
PROTECT/AUTHORIZE (2002)
WebCat2 - [format thousands] (1997)
Configuring E-mail (1997)
File upload (2002)
db access problem after switching to SSL (2001)
.htaccess to make WebDNA serve HTML (2007)
about this server and links to who (1997)
Help formatting search results w/ table (1997)
OT: zipcodes (2002)
Threaded Discussion (1998)
[WebDNA] Why doesn't this returnraw redirect to the new page? (2009)