Answered
Datetime field format American / English
LAMP system
I have a table with a datetime column which is in YYYY-MM-DD HH:MM:SS format.
As we are in sunny United Kingdom, I would like the fields to be formatted to DD-MM-YYY HH:MM:SS.
I have tried the application extension but the results all come through as 1/1/1970 instead of displaying the correct data.
Is this a collation issue (currently in utf8_general_ci) or is there a simple way to format both display fields and form input fields?
I have a table with a datetime column which is in YYYY-MM-DD HH:MM:SS format.
As we are in sunny United Kingdom, I would like the fields to be formatted to DD-MM-YYY HH:MM:SS.
I have tried the application extension but the results all come through as 1/1/1970 instead of displaying the correct data.
Is this a collation issue (currently in utf8_general_ci) or is there a simple way to format both display fields and form input fields?
