Check if current month is October in PHP
[INFO!] It's good for when you want to check for Halloween period.
<?php
$monthOctober = date('m');
if($monthOctober == 10) {
echo "October is the tenth month of the year in the Julian and Gregorian Calendars and the sixth of seven months to have a length of 31";
} else {
echo "Bye Bye October!";
}
?>