I've got the code listed below. For some reason it is only listing events of 2016. The moment I put in an event ending in 2017, it doesn't show it.
Any idea why?
$currentdate = date('m-d-Y');
$events_call = $eventsdb->query("
SELECT * FROM events WHERE start <= '". $currentdate ."'
AND (end >= '". $currentdate ."' OR end = 0) ORDER BY end ASC");
I am formatting dates in a mm-dd-yyyy format. Ex: 11-18-2016