I want to display a div if the date of today is between "05/01" and "10/01". Could someone please help me with it? :)
I could only display it when the date is between "01/01" and "10/01" by writing this code:
<f:if condition="{f:format.date(date: '10/01' format: 'm/d')} < {f:format.date(date: 'now', format: 'm/d')}">
<f:then><div>The Store is closed.</div></f:then>
<f:else><div>The Store is open!</div></f:else>
Many thanks in advance!
Aucun commentaire:
Enregistrer un commentaire