Formloom 4 base placeholder date


(LJ) #1

Just noticed that in my Formloom 4 forms, the base placeholder date is approx 100 years out of date on forms received. In preview it is fine.

Where does #fi-date# pick up the date? My Mac date is fine - bit concerned our server has an incorrect date


(LJ) #2

Problem solved. In the formloom settings, the default date format is set to “yy-m-d”. In the PHP date format, ‘y’ is a 2 digit representation of the year, i.e., currently “19”. ‘yy’, is just that 2 digit representation twice, so “1919” this year - it would have been “1818” last year. For the full year, it should be ‘Y’.