sort date of format 'dd-MMM-YYYY' in datatable
sort date of format 'dd-MMM-YYYY' in datatable
![Vas](https://secure.gravatar.com/avatar/99a51996f2d1d1e218e698537c5df0dd/?default=https%3A%2F%2Fvanillicon.com%2F99a51996f2d1d1e218e698537c5df0dd_200.png&rating=g&size=120)
I want to sort a specific column of date format 'dd-MMM-YYYY' in a datatable. Please guide me
This discussion has been closed.
I want to sort a specific column of date format 'dd-MMM-YYYY' in a datatable. Please guide me
Answers
Well, have the docs guide you![:smile: :smile:](https://datatables.net/forums/resources/emoji/smile.png)
But since you seem to be new here is some input on sorting including dates:
https://stackoverflow.com/questions/53238318/html5-javascript-datatables-order-sort-of-columns/53238593#53238593
Please take a look at this as well:
https://datatables.net/plug-ins/sorting/datetime-moment
That is actually the best and most flexible plug in for date sorting. Needs to be used with moment.js
There are more date time sorting plug ins here:
https://datatables.net/plug-ins/sorting/
Thank you![:) :)](https://datatables.net/forums/resources/emoji/smile.png)