Convert between Gregorian calendar dates and astronomical Julian Day Numbers without external libraries.
Constraints
Example
```python >>> date_to_jdn(2000, 1, 1) 2451545 >>> jdn_to_date(2451545) (2000, 1, 1) >>> date_to_jdn(-4713, 11, 24) # JDN 0 in proleptic Gregorian calendar 0 >>> jdn_to_date(0) (-4713, 11, 24) ```
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints