Browse Source

Update JulianDay.m

The 6th column of utcTime was not used (!?).
pull/3/head
mvillion-syntony 8 years ago committed by GitHub
parent
commit
dacb0cc105
  1. 2
      opensource/JulianDay.m

2
opensource/JulianDay.m

@ -22,7 +22,7 @@ end
y = utcTime(:,1);
m = utcTime(:,2);
d = utcTime(:,3);
h = utcTime(:,4) + utcTime(:,5)/60 + utcTime(:,5)/3600;
h = utcTime(:,4) + utcTime(:,5)/60 + utcTime(:,6)/3600;
%check that date is in valid range
if ( any(y<1901) || any (y>2099) )

Loading…
Cancel
Save