Home › Forums › General Issues › Date/Time Picker Format › Reply To: Date/Time Picker Format
Hi kelliott1490,
The code provided by John Huebner actually works only that it is missing the closing symbol )
This is what worked for me:
$date = date(‘F j, Y g:i a’, strtotime(get_field(‘date_field’)));
echo $date;
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.