TimePicker and grid timezone

Good morning, I am having a problem with time zones in datetimepicker components and in grids.

On the server I am saving the data as a DateTime, I send it with the time zone +2 (Spain) and I store it in UTC.

The problem comes when I present the data to the user, it is not applying the client's time zone.

In the timepicker components I have applied serverTimeZoneOffset = 2, but it keeps showing me the time in UTC

thanks!


1 Reply

SN Sevvandhi Nagulan Syncfusion Team July 26, 2021 01:38 PM UTC

Hi Diego, 


Greetings from Syncfusion support. 


We checked your query. By default, date components will be rendered based on the client time zone. If you want to render the component based on server timezone, then we need to specify the server time zone using servertimezoneoffset property. This is default behaviour at our end. 


Regards, 
Sevvandhi N                      


Loader.
Up arrow icon