how to calculate the exceeds time.

$due_date=strtotime("July 5,2011,8:00 am");
$today=strtotime("July 5,2011,9:00 am");

example i borrow a book so the due date is = ($due_date), then i return the book at ($today) how can i caculate the munites exceed from $due_date to $today...the munites exceed is 60 munites. how can i write this on php script. thnx an advance.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.