Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [tga] Compare dates

Quote Reply
Re: [tga] Compare dates In reply to
Firstly, you need <%if begin_showing eq $date%>

For the between two dates, I have something similar. To prevent your complicated condition, try making the default of the first date 0000-00-00 and the default of the second date 3000-00-00. That way you only need
<%if date >= $begin_showing AND date <= $end_showing%> (I think that should work).
Subject Author Views Date
Thread Compare dates tga 2258 Mar 14, 2005, 5:33 AM
Thread Re: [tga] Compare dates
afinlr 2147 Mar 14, 2005, 6:02 AM
Thread Re: [afinlr] Compare dates
tga 2139 Mar 14, 2005, 6:35 AM
Thread Re: [tga] Compare dates
afinlr 2129 Mar 14, 2005, 6:13 PM
Post Re: [afinlr] Compare dates
tga 2116 Mar 15, 2005, 12:23 AM