Home › Forums › General Issues › Use Date/Time picker as post publication date › Reply To: Use Date/Time picker as post publication date
I tested this and it seems to be working for me as long as the return date is in the correct format.
I would debug by outputting values to see what’s going on. Make sure that the function is actually called, make sure the date you’re trying to set is in the correct format, etc. There does not really appear to be any reason it wouldn’t work except the date format.
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.