Code covered by the BSD License  

Highlights from
mydate

mydate

by

 

16 Apr 2011 (Updated )

Augments MATLAB's date/time library for improved handling of epochs and formats commonly used in GPS

mydatehod (epoch, epoch0)
function hod = mydatehod (epoch, epoch0)
%MYDATEHOD: Convert epoch to (decimal) hours of day (optionally, elapsed since beginning of a different day).
    if (nargin < 2),  epoch0 = [];  end
    sod = mydatesod (epoch, epoch0);
    hod = sod ./ 3600;
end

Contact us