- or download this
[%- USE date %]
[%- SET today = date.format(date.now, "%Y%m%d") %]
- or download this
[% IF today < 20060406 %]
<p>Guess what. On April 6, 2006, we're going to do something special!
On April 7th, this paragraph disappears! Neat!</p>
[% END %]
- or download this
[% FILTER ByDate
start = '2006-04-15'
until = '2006-06-28' %]
This is only visible from April 15 through June 28, 2006.
[% END %]