Home › Forums › Front-end Issues › Countdown timer with dynamic date › Reply To: Countdown timer with dynamic date
Ar you returning a date value that will work with this function in the same format?
var countDownDate = new Date("Jan 29, 2021 09:00").getTime();
A date field will only return a date, no time. You would need to use a date time field or set this manually in the code.
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.