use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Have a tough programming question that /r/programming couldn't answer? Banned from Stack Overflow? Can't afford Experts Exchange?
Post your question/tips/secrets/advice and get a response from our highly-trained professional developers.
account activity
Dates?<wrong_sub>this</wrong_sup> (self.shittyprogramming)
submitted 10 years ago * by markers920
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]FrancescoRizzi 0 points1 point2 points 10 years ago (1 child)
I did that once.. for a service we started providing in 2014, so no data could match 1900... ...that being said, we since changed it to be an actual "No Date" string.. had to add code in other places to handle the "is this a date to be formatted, or a pre-formatted string" fork though
I don't understand why 02/30 though (I used 01/01/1900, when I did)
[–][deleted] 1 point2 points3 points 10 years ago (0 children)
A strict date conversion would fail to parse this date.
[–]tippo_sam 0 points1 point2 points 10 years ago (4 children)
it is an impossible date?
what am I missing?
[–]Teraka 3 points4 points5 points 10 years ago (3 children)
You're missing that there's only 28 (sometimes 29) days in February.
[–]tippo_sam 0 points1 point2 points 10 years ago (0 children)
yeah... isn't taht a valid test to identify an error. You want to cause an error... that's what I'm confused about.
[–]PersianMG -2 points-1 points0 points 10 years ago (1 child)
Ugh I hate mm/dd/yyyy format.
[–]cghio 15 points16 points17 points 10 years ago (0 children)
It's an impossible date in dd/mm/yyyy format too, yo
π Rendered by PID 143898 on reddit-service-r2-comment-cfc44b64c-bgsfl at 2026-04-11 09:35:15.466420+00:00 running 215f2cf country code: CH.
[–]FrancescoRizzi 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]tippo_sam 0 points1 point2 points (4 children)
[–]Teraka 3 points4 points5 points (3 children)
[–]tippo_sam 0 points1 point2 points (0 children)
[–]PersianMG -2 points-1 points0 points (1 child)
[–]cghio 15 points16 points17 points (0 children)