Home › Forums › Front-end Issues › Manipulating datepicker data › Reply To: Manipulating datepicker data
Just to confirm, the issue was that you are not using the ‘yymmdd’ format for the save format setting in the field?
For sorting to work in the get_posts function, you will need to use this yymmdd format to allow the database to order based on an integer number.
Sorry if that’s not what you wanted to hear.
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’re reaching out to our multilingual users to ask for help in translating ACF 6.1. Help make sure the latest features are available in your language here: https://t.co/TkEc2Exd6U— Advanced Custom Fields (@wp_acf) May 22, 2023
© 2023 Advanced Custom Fields.