Update Time.cpp

You can use % modulo operator to get the remaining after divide for 3600