#26 Date inputs

Wes Hooper

A member of my family commented that inputting dates in
the YYYY-MM-DD format seemed awkward. I've got a
function which creates 3 HTML select lists, which I
often use and don't mind posting here when I dig it
out. Not sure whether it's quite the right to use here
though - a drop down list for years would have to be
very long in order to not be restrictive and typing the
numbers in seems quicker to me...

Maybe simply three text input boxes would be better?


  • Carolyn Marenger

    Logged In: YES
    Originator: NO

    What about a text entry field with an option to open a calendar? Arrows to select more or less for century / decade / year to quickly get somwhere. Something like this...

    <<< << < 2007 > >> >>>
    < December >
    Sun Mon Tue Wed Thu Fri Sat
    2 3 4 5 6 7 8
    9 10 11 12 13 14 15
    16 17 18 19 20 21 22
    23 24 25 26 27 28 29
    30 31

  • Phoenix Rising

    Phoenix Rising - 2008-08-02

    Logged In: YES
    Originator: NO

    Some people wouldn't be happy, no matter what method you use. I just explain to my users that this is an international format that goes from the largest to the smallest -- year-month-day. One common alternative is a calendar where you enter the year, then the month, and select the date from the calendar. Single and double arrows could be used to switch between years and months.

    Perhaps a user configuration option could be included to allow the user to select the date format they prefer.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks