function number = myDateNum(TimeString)
%MYDATENUM Convert a GPS time string to seconds past midnight
%   Detailed explanation goes here
number = NaN;
if ( length(TimeString) > 0)
number = 3600*str2double(TimeString(1:2)) + 60*str2double(TimeString(3:4)) + ...
     str2double(TimeString(5:end));
end
end


