Well, the number of days since 1/1/1 is called the ordinal. See Python's toordinal and fromordinal from datetime. So this is exactly how dates are stored internally in a lot of systems. Although Jesus was born somewhere around 6 to 4 BC, apparently. Which is ironic given BC means Before Christ.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Oh shit 🤦 Now what do we do?
Well, the number of days since 1/1/1 is called the ordinal. See Python's
toordinalandfromordinalfromdatetime. So this is exactly how dates are stored internally in a lot of systems. Although Jesus was born somewhere around 6 to 4 BC, apparently. Which is ironic given BC means Before Christ.