Forum
Perch Date/Time
Hello All
Im using the date field in a project for a countdown timer
my template has the following to output the date
<perch:content id="datetime" type="date" time="local" label="Date/Time" format="Y/m/d h:m:s" native="true" />
i have input a date with the time of 12:00 PM
the only issue i have noticed is perch is adding 4 seconds to the time when output so on page it appears as 12:04 PM
does anyone know why ?
Are the dates in April?
m
is the month.I think you want
H:i:s
orh:i:s
for the time format.