Flipkart

Showing posts with label strtotime. Show all posts
Showing posts with label strtotime. Show all posts

Monday, July 20, 2009

Differance Between Two Dates

$now1 = strtotime(date("Y-m-d h:i:s"));
$now2 = strtotime(date("Y-m-d h:i:s"));
$seconds = $now1-$now2;
$minutes = $now1-$now2/60;