Date Display

QuestionsDate Display
Arnie Shore asked 12 years ago

Say my date format ("Jan 6, 1993") isn't suitable for a sorted column display based on the usual lexicographic ordering (year month day).

Is there some way to accommodate that?

1 Answers
Abu Ghufran answered 12 years ago

In sorting what actually matters is what format is stored in database table. If this format is on clientside of grid, then there will be no issue. If date is stored in database with this format, you probably need to use date_format function of mysql to make it YYYY-MM-DD.

Your Answer

16 + 18 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?