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

Programmer Humor

38989 readers
199 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
[โ€“] mdhughes@lemmy.sdf.org 4 points 2 months ago (1 children)

And what happens when you run that on Feb 29, 2024?

[โ€“] eager_eagle@lemmy.world 2 points 2 months ago

datetime raises a ValueError when trying to create an invalid date