I'm wanting to use something like:
if ((sprintf(strftime('%B'))) = "December") {
--do this --
}
in modules/new_products.php to determine the current month.
I've tried it every way I can think, but nothing so far has worked.
Any ideas?
I'm wanting to use something like:
if ((sprintf(strftime('%B'))) = "December") {
--do this --
}
in modules/new_products.php to determine the current month.
I've tried it every way I can think, but nothing so far has worked.
Any ideas?
ZC 1.3.8a on Linux with lots o' mods
This date info link should help.
SkipCode:if (date("F") == "December") { echo "Merry Christmas"; }
• 446F63746F722057686F •