Sorting Dates is Not Working For Me
Hi Admin Columns!
I’m trying to sort my users by the last_login info in my database. It is not working the way I would expect, so I came here to see if there was anyone else having this issue. I do see similar issues to this and have come to the suspicion that the way dates are being stored in my database is the culprit.
In my database, today’s date, September 4, 2023, is showing in the last_login field as: 1693848722. The date displays correctly on my WP Users page, but the result of sorting by Last Login seems random.
I’ve never seen this way of storing dates before. Any idea what I can do?
I’m (probably obviously!) not a database expert, so please keep that in mind with any responses. :) Thank you!
You must be logged in to reply to this topic.