[TYPO3-mvc] getDate not getting the right Date

Mohamed Rebai momed.rebai at gmail.com
Thu Mar 5 14:49:11 CET 2015


Hi,

In one of my models, i have a date field. I have a frontend form to edit the data of this model table.

For example, if in frontend i enter the date : 2015-03-16

In the database i obtain : 2015-03-16
In the backend, in the TCA form i obtain : 2015-03-16
But in the frontend, when i display getDate(), i obtain 2015-03-15 !!

Any idea ?


More information about the TYPO3-project-typo3v4mvc mailing list