i am building a small application to calculate employee attendance.
A user will check in, his check in time will be recorded in a mysql datetime format, for example
check_in_time 2011-12-16 20:27:20
And when he checks out
check_out_time 2011-12-16 20:27:27
I can do it the conventional way by exploding and doing the subtraction, but am sure Zend_Date has a more efficient way of doing it.