Ok, the error is fixed but it only shows the third date, date1 and date2 display today’s date and time. I replaced $date_3 with $date, is that ok?
UPDATE > I think the date problem is because is inverting the day/month. If the calendar shows 27/09/2016 (September 27), it reads the day as 27 and the month doesn’t exist, if I pick 09/10/2016 (October 09) it displays as September 10. I inverted the formats in the field settings (to m/d/y) and now it works.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users