|
ocssw
V2022
|
jday.c File Reference
#include <stdio.h>#include <stdint.h>
Include dependency graph for jday.c:
Go to the source code of this file.
Functions | |
| int32_t | jday (int16_t year, int16_t month, int16_t day) |
Function Documentation
◆ jday()
| int32_t jday | ( | int16_t | year, |
| int16_t | month, | ||
| int16_t | day | ||
| ) |
Converts a calendar date to the corresponding Julian day starting at noon on the calendar date. Originally implemented by Frederick S. Patt, GSC, November 4 1992. [Van] Flandern and Pulkkinen, Ap. J. Supplement Series 41, November 1979, p. 400.
- Parameters
-
year 4-digit year month 1-12 day 1-31
- Returns
- The astronomical Julian day corresponding to the one starting at noon on the calendar day


