Is there any way to use only Date data type instead of Date Time

0
HI, I am working on an application where Date time is saved and the displayed values vary due to different time zone Users due to time saved with Date. Is there any way to work only with Date and exclude time associated to save in Entity. Or any widget available to use even if Date time is saved in Entity.   Thanks in advance for your answers. Regards, Karthik VAJJA
asked
1 answers
2

Hi Karthik

 

There is no way to save date without time. However if you want to stop the times from looking different in different timezones you can set the datetime attribute to not localized in the domain model. This way you can set a date, only show the day/month/year and it will always look the same.

answered