this post was submitted on 24 Aug 2025
288 points (97.7% liked)

Programmer Humor

38345 readers
8 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Feathercrown@lemmy.world 3 points 3 weeks ago

If you're subtracting a year from a date, you could just keep the date constant while changing the year, and adjust Feb 29 as needed.