Most programmers don’t get a choice as it is the product and the ui/ux designer that pick the desired behavior. You can only fight back so much and maybe sneak it in. And 20 years later you become a cynic that just says, ok.
Won’t this just be an inverted DDMMYYYY format in most cases? Like, what’s so different between the DDMMYYYY and YYYYMMDD formats? In cases where you don’t need to take hours and minutes into account, of course.
Very true. It's programmatically (and human) parseable if the middle column exceeds 12, but fails the second you are lower than 13. It also happens to work out on any dates with matching day and month.
Why not cynic? Ive come to the realization over last 3 years of just doing what im told after I push back some. Usual line is, "hey I dont reccomend this; are you sure you want that?"
date pickers are needed as the most incompetent user can use them. Also most American sites or apps have poor localisation and Europeans might enter the date in the wrong format, as most people don't read hints. Ofc I'd love to see proper localisation and a manual option to ti enter the date ideally
These days, I often argue to just use <input type="date" when on the web because it's built in and respects the users choices. Sadly, not everyone agrees because "it doesn't align with our corporate identity"
That's not the problem. The problem is that I can't click by year on most of these. If I have to enter a date on another fucking form where it wants my birthday and I have to manually click October September August backwards from the current date for over THREE DECADES I'll murder someone. For the love of God make the year its own set of arrows at the very least.
Europeans might enter the date in the wrong format
You meant that Europeans (or rather, people from the vast majority of the world) will enter the right format, in opposition to the wrong format expected by the US-based platform.
I'm European and we use the year->month->day order in my country. We take going from the broadest category to the more specific so seriously that we also format our addresses that way, and also put family names before given names.
I feel like I have to think backwards when I'm forced to use a different format.
As someone who's inherited an internal company tool that had input fields for city names, dates, department names, ticket types...
I hadn't realized until then how privileged I was to work with a standard for data entry. You're all getting date pickers and dropdown menus because I can't trust any of you. You all write the most random shit in those fields, when it isn't just empty characters because the previous dev apparently never understood the purpose of trimming whitespace. Makes it impossible to reliably filter/group using those fields.
I get they're for stupid people, still not great when it locks the smart people out of just typing it.
And ideally America would stop being so god damn stubborn about sticking to a date format that makes zero sense and isn't in use anywhere else to my knowledge.
Specifically programmers who force you to pick your date of birth with a date picker…and the starting date that is there when you open it is today’s date.
Many UX designers want cross-platform visual consistency and recoil in horror at <input type='date'> 's default visuals on desktop. They want something consistent with brand standard, accessibility be damned. A month of push and shove goes by with developers wanting to either use the native control or a popular pre-built one and the designers pushing back because they want visual control. The designer wins, designs a date picker around an initial use case where the date will be near present day, and then that date picker is used for every date input in the framework the new control was developed for.
What country if you don't mind me asking? Is that non-date just like something predefined/recognized by government infrastructure? Just curious, I work with some county and state systems in the US as an end user and they have something similar for social security numbers
But with that argument you can bash against anything. Even a simple input field should just work but someone finds a way to make it next to unusable... date pickers themselves are not evil or bad.
There are better and worse. I've seen one that but only forces us to manually pick the date but also the time down to the minute to mark a working day. Instead of fixing it properly, they added a button to fill up the tone instead of adding a default value.
If Linda from HR didn't attempt to write the entirety of Notes from the Underground by Fyodor Dostoevsky in the date field then we could have nice things.
I unironically had to remove the ability to manually enter dates from a site because people kept trying to write "tomorrow" or "next year" and complained that there inputs were not accepted.
This was also my first thought along with people reversing month and day or not using the same format that would be standard for their locale (not talking about delimiters, that's easy enough to solve, just group between digits and non-digits, I just mean 2 vs 4 digit years, or not using delimiters at all. Like what date is 02-03-04... 3 February 2004, 2 March 2004, 4 March 2002?).
But that was me thinking of a single input field, which one would hopefully put a localized placeholder (MM/DD/YYYY or something for users to see on empty), and then just restrict input to digits only, and add automatic delimiter insert after input count... and people could still fuck that up like putting 1 instead of 01.
That's how you end up with 3 labelled input fields... and they'll still find a way, usually by not paying attention to labels and putting the month and date in the wrong field, so you swap the month from a numeric input to a dropdown with a month list.
On an Android app, I just use Android's date picker (which unfortunately doesn't let you quick select year and,maybe not month, at least in the Compose material one). But, I did do a custom dialog that gives a button to switch between the calendar and input field.
I hate how so much of developing is "how do we force end-users to not be completely stupid?"
Can I argue that a date field is so much easier to validate than a street field for example? If you don’t want Linda to mess up the inputs date is one of the easiest to make sure it has the intended value (well at least some date)(dd/mm/yyyy and mm/dd/yyyy can still be messed up, but that’s also the case with a date picker, speaking out of experience)
If you're doing a date more than three years ago I am begging you to just use three inputs. Nobody has to worry about delimiters, nobody gets confused about which order the inputs go in. Just follow the UK Gov design system and split it in three.
I mean ideally you should be validating on both sides. Server side to prevent an attacker from injecting bad data, client side to prevent an average user from sending a request with bad data in the first place.
Most of it is done by fresh out of school devs who only work at the company for a year or two then move on. So they never have to worry about maintenance.
In college my senior project was working with a company on a project like this. We were team #4, and it was already so broken we scrapped it and rebuilt it completely.
I think it is because some regulation that deliberately says "user has to enter their year of birth and then the system has to decide what to do based on entered data".
It is so they can profile you and sell your data to other places that know your date of birth, IP address, device id and whatever else they suck up with their never ending greed for power.
If it's a checkbox, you have to remember to log back in after your 18th birthday and manually check the box. I say that if you're already 18 or older you should be able to check the box, but if you didn't check the box you have to enter a birthdate. Websites have to deal with information about children under the age of 13 differently, anyway, so they also need to know if the user is under 13 or not.
Sorry, on most sites that care about your age, it's a profile setting. I had forgotten that sometimes Steam decides it needs to know your birthday before it can show you a store page, and yeah, that one should definitely just be a button that says "I pinky swear I'm really 18" or some shit.
Just don’t let them type anything but the exact number of digits you want? My online bank does it well, they even backfill a 0 if you type 7, because that could only be 07, when typing month/year.
If I'm understanding the function here, the date picker actually avoids solving the problem of having to validate free text input, as the date picker is not free text
The annoying thing there is that you have to add logic that adjusts the options in the Day dropdown based on the selection in the Month dropdown to ensure users don't pick an invalid date.
Native browser date pickers are fine, since they are designed by web committee experts.
It's your app date picker wrapper which looks fancy but is hell to use because your product department decided on a whim it needs to look and function the way it does.
The date picker doesn’t let the user choose February 31st or require me to guess whether 7/9/26 is July 9th or September 7th based off of spotty geoip data that breaks the second a user uses a VPN.
Considering all the variations of dashes, spaces, two or four digits for year and straight up typos it's way better to get a date picker even if you "trust" your users.
It’s so much easier for everyone to just use the built-in date picker. It’s already accessible and localised for whatever market. A team has already ironed out all the edge cases. You’re not going to make something better. Ask me how I know…
I mean I dont use it with single date entries but I recently put one into an app for a date range and people love it. Besides I have done much worse things to go to the bad place :)
I have no problem with date pickers, IF THEY ARE PROPERLY DESIGNED!
Let me input a date and then show me how the date picker interprets it. Let me choose the year, month and day separately, rather than forcing me to click 420 times to go back to my birth month. Let me adjust the date when I misclicked rather than resetting to today every time I re-open the picker.
In getting viable data, having worked with research data from questionaires, date pickers are an absolute must. But even then, you should be able to type it in, just have it check to ensure it is a viable date.
And never, ever, ever, should it default to today. Not even when it is a date for a signature. It should default to blank.
We used this when I worked for an intentional logistics company because getting the dates correct on shipments was absolutely critical and datepicker was easier than complex validation or extra formatting
My pet peeve are website with weird password standards, forcing me to be creative with my password picking, who then don't tell you what the requirements are when you try to login, you try a few passwords, lock yourself out.
So you end up resetting your password, see the odd standards, get creative again, and can't change your password because it's the same as you were already using.
I use a password manager now, but it's still annoy me to no end when that happen.
If you will use fancy requirements, you should show them on the login page.
What's funny about that for me is, I tried various vibe coding (VC) platforms and the one I actually 'like' automatically put both text date and time, and had an icon with a picker.
VC still needs decisions, knowing what to prompt to get the right output, especially for UI, is not something that can just be swept aside...
Programmers (especially seniors, or any level with UX/UI) are not obsolete by a long, long way.
The amount of time I've had to spend fixing 'UI slop', is far more than all the usual internal bullshit meetings, before the start of the project.
No, it's not hard to understand. They just don't work properly on all mobile|touch devices. Not funny to scroll back 40 years, month by month, to enter your date of birth.
Or if they have to prove they age, then Jan 01 or exactly 17 years ago. This way underage persons dont get an auto click-through but the scroll is closer to where it needs to be.
Easy, scrape as many employees info off LinkedIn you can find. Find the date they graduated high school/college. Take the difference between the current year and the year they graduated and add 22 or 18 depending on if you pulled high school or college graduation year. Take the median of the sample and pick August 15th since that’s the most common birth month.
I encountered this with the added annoyance that there was no "previous year" button just "previous month" I'm 45 so I'd have to press that button nearly 480 times, thankfully I could just intercept the request and modify the payload on submit.
When I show up for my appointment I gotta ask them how many people over a few years old are booked by their web portal vs just calling in.
I was saw an app that wouldn't let you change the year, just the month. So scrolling back 40 years was hundreds of presses backward on the month selection.
775
u/jideru Oct 13 '26
Most programmers don’t get a choice as it is the product and the ui/ux designer that pick the desired behavior. You can only fight back so much and maybe sneak it in. And 20 years later you become a cynic that just says, ok.
Don’t become cynic kids.
18
u/AnyClerk2899 Oct 13 '26
What is your problem with date pickers? I like them just not for birthdays
501
u/SpandexWizard Oct 13 '26
date pickers are fine.
date pickers that force you to manually cycle month by month to go back 20 years, those can go to hell.
60
u/tyguy55083055 Oct 13 '26
Specifically programmers who force you to pick your date of birth with a date picker…and the starting date that is there when you open it is today’s date.
344
u/Heighte Oct 13 '26
I mean most date pickers are also editable fields where you can just write the date manually....
111
u/Stormraughtz Oct 13 '26
If Linda from HR didn't attempt to write the entirety of Notes from the Underground by Fyodor Dostoevsky in the date field then we could have nice things.
29
u/MR_DERP_YT Oct 13 '26
you know whats worse? those that dont tell you if it is DD/MM/YY or MM/DD/YY
31
u/BreakingBaking Oct 13 '26
I love datepickers, which fill in month with either letters or number...
Also, unrelated, giving a date of birth to prove you're 18+ is stupid. Checkbox is fine. Yes, you, steam. Yes, you, itch.io
11
u/heyuhitsyaboi Oct 13 '26
Totally not modifying a few of my projects after seeing this post
30
u/themightyug Oct 13 '26
Some of y'all have never had to validate free text input for dates and it shows
9
u/SaneLad Oct 13 '26
What about programmers/designers who force users to click through a calender year by year, month by month, starting at today's date?
17
u/Latentius Oct 13 '26
Maybe if most users weren't complete morons incapable of entering valid dates (not even taking into account date formatting)....
6
u/WaveHack Oct 13 '26
Native browser date pickers are fine, since they are designed by web committee experts.
It's your app date picker wrapper which looks fancy but is hell to use because your product department decided on a whim it needs to look and function the way it does.
Same with dropdowns.
6
u/NecessaryBadger228 Oct 13 '26
I order them to type seconds since 1970.
11
u/q0099 Oct 13 '26
How about programmers who force users to enter date in ISO 8601?
11
u/SeaTurtle1122 Oct 14 '26
The date picker doesn’t let the user choose February 31st or require me to guess whether 7/9/26 is July 9th or September 7th based off of spotty geoip data that breaks the second a user uses a VPN.
To be clear I do agree as a user, but as a dev…
5
u/evilReiko Oct 13 '26
Depends.
Some datepickers are shitty, forcing user to jump between years by 10s, months by back & forth, and doesn't allow user to type date by keyboard.
Some datepickers are heavily customizable, and they allow for whatever you want to allow/disallow & and how it should behave. Heaven
4
u/Snownova Oct 13 '26
Hey, 90% of the time it's the designers forcing the developers to implement those.
4
u/lovecMC Oct 13 '26
Its honestly impressive just how awful the vast majority of date pickers are.
4
u/zawalimbooo Oct 13 '26
These old meme formats have been returning
9
u/jaywastaken Oct 13 '26
Americans exist and can't be trusted to know which way days and months go. So calendar ui it is.
3
u/SortaCore Oct 13 '26
My elderly father had to pick his birth date. On mobile. In a calendar picker that only went back by months, you couldn't tap the year and "zoom out".
While on a page that would log out after a few minutes had passed. And he was on the phone to the support guy guiding him through it at the time...
3
u/IamGah Oct 13 '26
Forcing datepicker because users wrote ‚soon‘ and because of raisins i could not …
Eff kendo…
3
u/SoftwareSource Oct 13 '26
Imagine those who do not offer a dropdown menu for the year, only the monthly arrows.
3
u/Spaceshipable Oct 14 '26
It’s so much easier for everyone to just use the built-in date picker. It’s already accessible and localised for whatever market. A team has already ironed out all the edge cases. You’re not going to make something better. Ask me how I know…
3
u/UShouldntSayThat Oct 14 '26
Have you met users? Everything needs to be handheld in software
3
u/ubdeanout Oct 14 '26
Blame Product Ownership, not the dev
3
u/flying_bed Oct 15 '26
Da fuck is wrong with a date picker!?
I mean I dont use it with single date entries but I recently put one into an app for a date range and people love it. Besides I have done much worse things to go to the bad place :)
5
u/dracorotor1 Oct 13 '26
Date-picker calendars aren’t evil. Not including one when you send the UI out for QE is.
4
u/Cemosabe Oct 13 '26
Well some date pickers are better than others, but they are quite necessary for entering dates consistently
2
u/MyDespatcherDyKabel Oct 13 '26
Bank devs
2
u/R_Aqua Oct 13 '26
I would rather have datepickers than someone who wants to write something other than dd/mm/yyyy as their date input.
2
u/sup3rdr01d Oct 13 '26
Date pickers are great for things like booking travel cause you can easily visualize the length of time/number of days
2
u/Soilblood Oct 13 '26
I didn't choose my nature, I simply am. You will choose year month day and you will conform to my data constraints you peasant.
2
u/Business-Bad-1546 Oct 13 '26
Active cylinder technology pro max ultra
2
u/Academic-Proof3700 Oct 13 '26
I'd rather use the date picker than fight with retarded textbox thinking it knows better whats a month and whats a day
2
u/invalidConsciousness Oct 15 '26
I have no problem with date pickers, IF THEY ARE PROPERLY DESIGNED!
Let me input a date and then show me how the date picker interprets it. Let me choose the year, month and day separately, rather than forcing me to click 420 times to go back to my birth month. Let me adjust the date when I misclicked rather than resetting to today every time I re-open the picker.
2
u/Glad_Contest_8014 Oct 15 '26
In getting viable data, having worked with research data from questionaires, date pickers are an absolute must. But even then, you should be able to type it in, just have it check to ensure it is a viable date.
And never, ever, ever, should it default to today. Not even when it is a date for a signature. It should default to blank.
1
u/mountaingator91 Oct 13 '26
We used this when I worked for an intentional logistics company because getting the dates correct on shipments was absolutely critical and datepicker was easier than complex validation or extra formatting
1
u/lokemannen Oct 13 '26
The competitions with complex/creative UI/UX are peak though as long as they don't get used for real.
1
u/Jahonay Oct 13 '26
Separate month, day and year inputs are my favorite.
1
u/NebNay Oct 13 '26
Dates are a bitch to work with, and i understand some devs just give up. Locales junst haunt my nights.
1
u/Kusko25 Oct 13 '26
When the datepicker automatically sets the regional format, but the form validation expects a specific format
1
u/AaronTheElite007 Oct 13 '26
I’m cool with this
1
u/CodeMonkeyLogix Oct 13 '26
How is this a problem, unless you don't know how dates work (looking at you, America!)
1
u/danfish_77 Oct 13 '26
Depending on the format that has been the recommended style. I also hate it but I don't get paid to write style guides
1
u/fmaz008 Oct 13 '26
My pet peeve are website with weird password standards, forcing me to be creative with my password picking, who then don't tell you what the requirements are when you try to login, you try a few passwords, lock yourself out.
So you end up resetting your password, see the odd standards, get creative again, and can't change your password because it's the same as you were already using.
I use a password manager now, but it's still annoy me to no end when that happen.
If you will use fancy requirements, you should show them on the login page.
1
u/imperialblitz Oct 13 '26
Bonus points when the calendar lets you pick a date and then declares it invalid.
1
u/Carbuyrator Oct 13 '26
What about people who won't put a date into a text box in a reasonably normal way?
1
u/_dr_fontaine_ Oct 13 '26
My birthday was a Monday.
1
u/LizPali Oct 13 '26
Do it like Jira, add a confirm button to actually use the selected date
1
u/Thenderick Oct 13 '26
Sure. Just make it an input field and
Date.parse()it. I'm sure nothing will go wrong!1
u/Square-Singer Oct 13 '26
Implementing a date picker right now. I feel called out.
1
u/WatchOutIGotYou Oct 13 '26
I accept my fate. Humans fuck up too often to allow them to type a date
1
u/Vertyco Oct 14 '26
as a full stack dev that uses date pickers i feel targeted lol. do people actually not like that? should i start sweating and refactoring?
1
u/distes Oct 16 '26
Yeah, so much for standardization. Good luck parsing whatever users type in. You will never need to use that string as an actual date anyway.
1
u/Schaex Oct 16 '26
Force them to use yyyy-MM-dd, and yyyy-MM-dd only!
1
u/Apprehensive_Egg_944 Oct 16 '26
What's funny about that for me is, I tried various vibe coding (VC) platforms and the one I actually 'like' automatically put both text date and time, and had an icon with a picker.
VC still needs decisions, knowing what to prompt to get the right output, especially for UI, is not something that can just be swept aside...
Programmers (especially seniors, or any level with UX/UI) are not obsolete by a long, long way.
The amount of time I've had to spend fixing 'UI slop', is far more than all the usual internal bullshit meetings, before the start of the project.
1
u/Ohdake Oct 17 '26
I would say it is reserved for those who do not use ISO 8601 when dealing with datetime...
1
u/ToBePacific Oct 14 '26
Uh, in a lot of cases a date picker is preferred.
0
u/flplz Oct 13 '26
Is there a Chance that you simply dont understand how they work?
27
u/[deleted] Oct 13 '26
[removed] — view removed comment