Foreach loop only if date is after some point

Got it working:

if (!($year >= 2013)) {
    continue;
}

if ($year == 2013) {
    if (!($month >= 10)) {
        continue;
    }
}

Browse More Popular Posts

Leave a Comment