What is the correct date format?

What is the correct date format?

ministrypixelministrypixel Posts: 12Questions: 0Answers: 0
edited July 2010 in General
I have a column that has a date (ie: January 3, 2010) Right now it doesn't sort properly. It sorts by the first letter of the month name. Is there a way to make this work properly, or would it be easier to user a format like 01/03/2010?

Thanks!

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Anything which can be read by Date.parse() in Javascript will be read automatically by DataTables. For other formats there are a number of plug-ins available: http://datatables.net/plug-ins/sorting

    Allan
  • ministrypixelministrypixel Posts: 12Questions: 0Answers: 0
    What is a readable format?
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Date/parse

    Allan
This discussion has been closed.