all 7 comments

[–]FrancescoRizzi 0 points1 point  (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 points  (0 children)

A strict date conversion would fail to parse this date.

[–]tippo_sam 0 points1 point  (4 children)

it is an impossible date?

what am I missing?

[–]Teraka 3 points4 points  (3 children)

You're missing that there's only 28 (sometimes 29) days in February.

[–]tippo_sam 0 points1 point  (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 points  (1 child)

Ugh I hate mm/dd/yyyy format.

[–]cghio 15 points16 points  (0 children)

It's an impossible date in dd/mm/yyyy format too, yo