News for hackers. Stuff that matters.
Re:Software Complexity Is Killing Us by noxecanexx on Monday January 29, 2018 @07:26PM (#16261880)
Honest question. What's wrong with using a calendar widget for DoB.(engineer here)
Re:Software Complexity Is Killing Us by sloxy on Monday January 29, 2018 @08:08PM (#16262101)
A calendar is good for a 'free choice'. It can provide context(i.e. day of week) and can be overlayed with useful information(price for a date/availability etc.

A calendar is not good for pre-determined dates where the date is fixed before hand - i.e. you don't get to choose what value you want the date to be.

For example, if you're entering in your driving license details for insurance quote, you don't get to choose when it expires - that's already decided for you. Ditto for DOB and other such things.

So, there are far more efficient options for date entry ranging from single text input (with appropriate parsing/validation) or the '3 dropdowns option(D,M,Y)' which is more effort but easier to avoid mistakes with.

Re:Software Complexity Is Killing Us by verletx64 on Monday January 29, 2018 @07:58PM (#16262055)
You weren't born on a range of days.

You're unlikely to change your mind about when you were born.

You really only ever need to provide three well defined numbers.

So, why display a calendar?

Re:Software Complexity Is Killing Us by PeterisP on Monday January 29, 2018 @08:17PM (#16262138)
Well, one issue is that there are different date formats used worldwide and there's a risk that the website will accidentally swap the month and date if I simply enter three numbers without thinking about them. mm-dd-yy and dd-mm-yy are both used occasionally.
Re:Software Complexity Is Killing Us by Blaiz0r on Tuesday January 30, 2018 @07:56AM (#16264832)
There are also different calendar formats.

https://msdn.microsoft.com/en-us/library/cc194816.aspx

Re:Software Complexity Is Killing Us by jstarfish on Monday January 29, 2018 @08:30PM (#16262201)
For starters, the default date is generally off by anywhere from 20 to 70 years.
Re:Software Complexity Is Killing Us by joncrane on Monday January 29, 2018 @09:00PM (#16262317)
Isn't the most common date entry field one where you can type directly into, but have the option to use the calendar widget?