38 newtime = gmtime( <ime );
103 tError.tm_year=newtime->tm_year;
104 tError.tm_mon=newtime->tm_mon;
105 tError.tm_mday=newtime->tm_mday;
107 tjd_now = julian_date((
short)(newtime->tm_year+1900),
108 (
short)(newtime->tm_mon+1),
109 (
short)newtime->tm_mday,
110 newtime->tm_hour + (newtime->tm_min/60.0)+(newtime->tm_sec/3600.0));
120 case 1:
return(
tError.tm_year);
121 case 2:
return(
tError.tm_mon);
122 case 3:
return(
tError.tm_mday);
128 #define MAJOR_PLANET 0
131 #define REDUCED_ACC 1
150 cat_entry dummy_star;
152 double deltat = 60.0;
163 make_on_surface(loc->
lat, loc->
lon, loc->
hgt, 30.0, 1000.0, &geo_loc);
192 equ2hor(tjd_now,deltat,
REDUCED_ACC,0,0,&geo_loc,ra,dec,0,el,az,&rar,&decr);