Quote:
Originally posted by Edgemyster
Logician,
The hack is awesome and works (in 2.2.9) so far ... but this is the effect I'm trying to achieve and was hoping you might offer some insight:
I'd like to show certain data in a template on "X" date and show alternative data in a template if the current date is not "X".
Any hints?
|
[[(date("m.d.Y")=="02.19.2003")]]
template content to display if date is 02.19.2003 (server time!)
[[/(date("m.d.Y")=="02.19.2003")]]
[[(date("m.d.Y")!="02.19.2003")]]
template content to display if date is NOT 02.19.2003 (server time!)
[[/(date("m.d.Y")!="02.19.2003")]]