this post was submitted on 24 Aug 2025
282 points (97.3% liked)

Programmer Humor

38058 readers
176 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 2 points 1 week 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.