Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jabroni_salad
· 1y ago · 0 comments
In mainframes, Julian dates are popular for that reason. YYDDD (day of year).
When is 30 days after today? 25206+30
Comments
[–]
alexanderchr
1y ago
Maybe I’m missing something but then what is 30 days after Christmas? 25389?
[–]
mpyne
1y ago
25389 mod 365, presumably. The very fancy mainframes probably would pick the appropriate modulus based on whether it was a leap year or not.
[–]
cortesoft
1y ago
What happens when you want to add more than 365 days to a date, then?