greg2mjulian.m 269 Bytes
Newer Older
1 2 3 4 5 6 7 8
function [mjulianday] =greg2mjulian(year,month,day,hour,mint,sec)
% mjulianday = greg2mjulian(yyyy,mm,dd,HH,MM,SS)
%
% Convert the Gregorian dates to Modified Julian dates.
%
% See GREG2JULIAN.

mjulianday = greg2julian(year,month,day,hour,mint,sec)-2400000.5;