• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 365
  • Last Modified:

styling date control in html 5

I am using <input type="date"> in html 5

I need to be able to do the following:

1) change the default date format from month/day year to day/month/year

2) change the styles, colors, fonts, etc of the drop down date picker. it looks horrible!

Please help!
1 Solution
The HTML5 date input field is specific about the format it uses: RFC 3339 full-date.  If you want to send it to the server in an alternate format then either don't use type date, or use javascript to manipulate the input.

I prefer to us a placeholder as a hint for the user, and I never use date pickers because they are lame.  If you do not like the look of the date picker.  Don't use it or create one using your own presentation design.


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now