Home › Forums › Add-ons › Repeater Field › future dates table in single.php › Reply To: future dates table in single.php
You’re probably going to need to debug the lines where I calulate the current time and the end time. I’m not sure how you are storing dates and I am unfamiliar with how you are displaying dates.
I did just notice this though
this line
$end_time - strtotime(get_sub_field('ende'));
should be
$end_time = strtotime(get_sub_field('ende'));
There should be an =
‘ not a ‘ – ‘
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.