- time: documentation ( source)
- date: documentation ( source)
- strtotime: documentation ( source)
<?php
$date1 = "22/07/2014";
$time1 = "12:05";
$date3 = $date1 . ' ' . $time1;
$date4 = strtotime($date3);
echo date('Y-m-d H:i:s', $date4);
if(time()>$date4) echo 'passed';