I'm trying to run a conditional if statement to compare to today; but my date element in each row (biddate) keeps returning 01011970. My biddate format is "m-d-Y l h:i:s A". All I need is the date portion to compare to today. My if statement keeps failing because of the strange 01011970. Please help. Thanks in advance.
$todaysdate = date("mdY");
$biddate = $this->_row->data->bw_projects___biddate;
$biddate = date("mdY", strtotime($biddate));
$todaysdate = date("mdY");
$biddate = $this->_row->data->bw_projects___biddate;
$biddate = date("mdY", strtotime($biddate));