styling date control in html 5

Posted on 2012-08-27
Last Modified: 2012-09-03
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!
Question by:RTKHOT
    1 Comment
    LVL 53

    Accepted 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

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
    Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
    In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at Browse or search based on font properties or name to find a suitable font for…
    The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now