Showing posts with label php time. Show all posts
Showing posts with label php time. Show all posts

Monday, August 1, 2011

PHP Time Utilities

function greaterDate($start_date,$end_date){
   $start = strtotime($start_date);
   $end = strtotime($end_date);
   if ($start > $end)
     return true;
   else
     return false;
}