function f = mjd(y,m,d)

% function f = mjd(y,m,d)
% Function calculates the modified Julian date at year y (YYYY), 
% month m, and day d.
% (Gregorian calendar)
% by kaj.wiik@hut.fi (4 Mar 1996)
% 

f = jd(y,m,d) - 2400000.5;
%endfunction