PHP Date Comparison Checks Using strtotime Function


PHP date comparison examples:

if( strtotime($r['date']) >= strtotime($_GET['date']) ) { ...

if( strtotime($r['date']) >= strtotime('2018-12-11') ) { ...

if( strtotime($_GET['date']) >= strtotime('2018-12-11') ) { ...