Fixed time logic, added time to minutes conversion equation