TAP_ExtractMjd

Topfield Documentation

int TAP_ExtractMjd(word mjd, word *year, byte *month, byte *day, byte *weekDay);

It gets the year, month, day and weekday from the date information of MJD format.

  • mjd : date information in MJD format
  • year : year
  • month : month
  • day : day
  • weekDay : weekday
return value : 1 if the input MJD data is normal. If it is abnormal value, it returns 0

Additional Documentation

MJD = Modified Julian Date