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:
WebCat (or other) Indexing (1999)
WebCatalog NT beta 18 problem (1997)
Input appreciated (2000)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Max Record length (1997)
[OT] Theiving B*****ds (2004)
NT vs Mac (1997)
cookies (2002)
Searching multiple fields from one form field (1997)
Guest Book (2002)
PIXO Support (1997)
New NT betas available (1997)
2.0 Info (1997)
Help! WebCat2 bug (1997)
File Upload (1997)
Tax and ShipCost Problem (1997)
Using Plug-In while running 1.6.1 (1997)
Multi Colonns (1998)
Secure server question (1997)
Change in Host? (1999)