-//double fgCalcActTime(struct fgTIME t)
-//{
-// double
-// actTime, UT;
-// int year;
-//
-// /* a hack. This one introduces the 2000 problem into the program */
-// year = t.gmt->tm_year + 1900;
-//
-// /* calculate the actual time, remember to add 1 to tm_mon! */
-// actTime = 367 * year - 7 *
-// (year + ((t.gmt->tm_mon+1) + 9) / 12) / 4 + 275 *
-// (t.gmt->tm_mon+1) / 9 + t.gmt->tm_mday - 730530;
-//
-// UT = t.gmt->tm_hour + ((double) t.gmt->tm_min / 60);
-// /*printf("UT = %f\n", UT); */
-// actTime += (UT / 24.0);
-// #define DEBUG 1
-// #ifdef DEBUG
-// /* printf(" Actual Time:\n"); */
-// /* printf(" current day = %f\t", actTime); */
-// /* printf(" GMT = %d, %d, %d, %d, %d, %d\n",
-// year, t.gmt->tm_mon, t.gmt->tm_mday,
-// t.gmt->tm_hour, t.gmt->tm_min, t.gmt->tm_sec); */
-// #endif
-// return actTime;
-//}
-
-