How to disable the timezone offset in the DatePicker

Using the date picker I noticed that it is adding the timezone offset on the value like this:

but I need the date picker to give only the value like this:

without the timezone offset.
Is there a way to control that from the component?


1 Reply

BC Berly Christopher Syncfusion Team December 11, 2020 12:12 PM UTC

Hi Christopher, 
  
We would like to inform you that in DatePicker component’s value property type as DateTime. So, we can get the DateTime value in the overall interaction in the DatePicker component.  
  
Please share the below details that will help us to check and proceed further at our end. 
  
  1. Where you got the mentioned ISO string value in the DatePicker component?
  2. Which TValue type is used in the DatePicker component?
  3. Any code example or sample of component rendering
  4. Use case requirement for removing time zone offset value from the ISO string
  
Regards, 
Berly B.C 


Loader.
Up arrow icon