DateTimePicker - User will enter date in UTC not local Time

1 Answer 268 Views
DateTimePicker
Danny
Top achievements
Rank 1
Danny asked on 09 Aug 2023, 03:20 PM
My users will enter a date and time in UTC and this data will be stored in a form. However, the component uses local time instead of UTC.

If the user enters  2023-08-09 15:00:00, I want it to be save as 2023-08-09T15:00:00.

1 Answer, 1 is accepted

Sort by
-1
Yanmario
Telerik team
answered on 14 Aug 2023, 06:40 AM

Hi Danny,

The default behavior of the DateInputs is to use UTC to represent the date and time alongside the time zone of the user's browser. Please check the following knowledge base article on this matter: 

https://www.telerik.com/kendo-angular-ui/components/knowledge-base/dateinputs-manage-timezones/

I hope this helps.

Regards,
Yanmario
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Tags
DateTimePicker
Asked by
Danny
Top achievements
Rank 1
Answers by
Yanmario
Telerik team
Share this question
or