Cody

Solution 1038538

Submitted on 30 Oct 2016 by Peng Liu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
x = '24-Oct-2016 20:26:28'; y_correct = '73587999999.8957'; assert(isequal(microsecondsPassedToday(x),y_correct)) x = '24-Oct-2016 20:29:48'; y_correct = '73788000001.3858'; assert(isequal(microsecondsPassedToday(x),y_correct))

ans = 1×2 cell array '73587999999.8957' '73788000001.3858' ans = 1×2 cell array '73587999999.8957' '73788000001.3858'