I have 2 variables being set like this:
<?php $current = strftime('%m/%d/%g %H:%M:%S')?>
<?php $target = strftime('%m/%d/%g %H:%M:%S', strtotime($item->getendtime()))?>
Then I have an if statement like this:
<?php if ($current < $target): ?>
Do this
<?php else: ?>
Do that
<?php endif; ?>
It works fine until we are in a new year. For example, I have a few items that have an "endtime" in 2012. If the if statement works as it should, it should "DO THAT" but instead it's doing "DO THIS"