Forums
This topic is locked
Conditional Region Using Date
Posted 20 Mar 2007 19:23:48
1
has voted
20 Mar 2007 19:23:48 Jason Sweet posted:
I'm having some trouble creating an expression that can be used wit the Advanced Conditional Region extension.I want to make a visible a region if the following is true:
Today < 06/30/2007.
I've used a few variants, all of which fail:
Today() < "06/30/2007" as an example.
Suggestions? Thanks very much for your expertise.
Replies
Replied 20 Mar 2007 21:06:54
20 Mar 2007 21:06:54 Javier Castro replied:
if you are using Access, this will work. If you suing MSSQL then the date format may be different, but should be easy to modify.
<% If (Now() > 03/20/07) Then %>text<% End If %>
Javier
<% If (Now() > 03/20/07) Then %>text<% End If %>
Javier