function gtime=gregoriand(jd);

% gregoriand - convert drifter Julian day
%  (Julian day since 12/31/78) to Gregorian calendar.
% This is done by adding julian([1978 12 31]) to
% the drifter julian day and using gregorian.m

gtime=gregorian(jd+2443874);

