DateTimePicker Changes time once loaded

Hello,

When a user enters a time and saves it, then returns to the page the datetimepicker will adjust to the servers time. For example if the user enters 03:00 when you return to the page it will show 03:00 for a moment and then change to 00:00 (server and user are 3 hours apart). Is there a way to prevent this?

Thanks

1 Reply

BC Berly Christopher Syncfusion Team March 13, 2020 11:44 AM UTC

Hi Matthew, 
  
Greetings from Syncfusion support.  
  
We have tried to reproduce the reported issue by having the time zone of the server as the US time zone ((UTC -05:00) Eastern Time (US & Canada) ) and having the time zone of the client 3 hours apart, such as ((UTC -08:00) Pacific Time (US & Canada)) and ((UTC -02:00) Coordinated Universal Time - 02). Unfortunately, the reported issue is not occurred at our end.  
  
If your server and client time zone get differed, please make use of the serverTimeZoneOffset (serverTimeZoneOffset =”-5.0” for server time zone as UTC -05:00) property to resolve the issue at your end.  
  
  
We have prepared the sample and attached it below.  
  
Please share any issue reproducing sample that will help us to check and proceed further at our end. Else share the information that whether you are running the application in the different server time zone and server / client time zone details at your end that will help us to check and provide the exact solution. 
  
Regards, 
Berly B.C 


Loader.
Up arrow icon