Home › Forums › General Issues › using both published date and date picker to sort posts › Reply To: using both published date and date picker to sort posts
As far as I know it should be working.
It should be ordering the posts by the custom date field. If two of those fields have the same date then those should be ordered according to the post date.
You also have to remember that an ACF date field does not store a time. So today would be in the DB like this 20181211
Two posts that have today’s date in the custom field will be ordered by the post date, which includes a timestamp, for example 2018-12-11 10:34:22
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.