Home › Forums › ACF PRO › ACF Datepicker within an ACF Repeater row, dates not $Post unique › Reply To: ACF Datepicker within an ACF Repeater row, dates not $Post unique
Hi @hube2 thanks for the timely response.
My main data needed is just the date, so I am happy to ignore the time aspect to the data.
How would you approach returning two values:
<time class="home__slide__date" datetime="<?php echo $date->format('Y-m-d'); ?>"><?php echo $date->format('d | m | Y'); ?></time>
I just want to change the order and symbols in the echo’ed areas. Do you have any ideas? Just repeating it twice is not valid in the former datetime attribute.
Many thanks,
Neil
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.