Calculate days and weeks in total time