function jjh = jjh2000(jdat,par)
% function jjh = jjh2000(jdat,par)
%
% Julian Century in respect of J2000
% from Julian Date (par = 0) or
% from Modified Julian Date (par = 1)
% algorithms by Montenbruck/Pfleger: "Astronomy with the Personal Computer"
%
% 05.05.04 M.Penzkofer
if (par == 0)
jjh = (jdat-2451545)/36525;
else
jjh = (jdat-51544.5)/36525;
end