Hello,
I'm having an issue where something is not working and if you could tell me why I would appreciate it.
Here's the example
<strfmt "%at" "%m%d" "now">
<$todaysdate=$ret>
<if $todaysdate gt 0206 and $todaysdate lt 0214>
<img src="/logo-valentines.gif">
<else>
<img src="/logo.gif">
</if>
it does work when I use:
<strfmt "%at" "%m%d" "now">
<$todaysdate=$ret>
<if $todaysdate gt 0206>
<if $todaysdate lt 0214>
<img src="/logo-valentines.gif">
</if>
<else><img src="/logo.gif">
</if>
Thanks!
I'm having an issue where something is not working and if you could tell me why I would appreciate it.
Here's the example
<strfmt "%at" "%m%d" "now">
<$todaysdate=$ret>
<if $todaysdate gt 0206 and $todaysdate lt 0214>
<img src="/logo-valentines.gif">
<else>
<img src="/logo.gif">
</if>
it does work when I use:
<strfmt "%at" "%m%d" "now">
<$todaysdate=$ret>
<if $todaysdate gt 0206>
<if $todaysdate lt 0214>
<img src="/logo-valentines.gif">
</if>
<else><img src="/logo.gif">
</if>
Thanks!