Home › Forums › Backend Issues (wp-admin) › Date time picker does not allow time to be output before date › Reply To: Date time picker does not allow time to be output before date
Have you tried converting the string to a Unix timestamp?
<?php
$date_time = get_field('date_time');
echo date("H.i j F Y", strtotime($date_time);
?>
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.