MJD时间转换成年月日
unsigned int MJD2YMD(unsigned long MJD, unsigned int *Y , unsigned int *M, unsigned int *D)
{
unsigned int year, month, day;
unsigned short K;
unsigned short dayInMonth[] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
year = ( (MJD) * 100 -
原创
2020-08-10 15:37:16 ·
2551 阅读 ·
1 评论