Problem 43612. time of day

Created by Marc Jakobi in Community

Calculate the time of day in days, hours, minutes or seconds passed since the beginning of the day, depending on the unit. The unit is given as a string:

validUnits = {'nanoseconds'; 'microseconds'; 'milliseconds'; ...
'seconds'; 'minutes'; 'hours'; 'days'};

Solution Stats

47.83% Correct | 52.17% Incorrect
Last solution submitted on Feb 17, 2019

Problem Comments