We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DateTimePicker return UTC Date/Time?

Thread ID:

Created:

Updated:

Platform:

Replies:

150880 Jan 22,2020 09:37 PM UTC Jan 24,2020 09:36 AM UTC ASP.NET Core - EJ 2 3
loading
Tags: DataGrid
Bernard Jurlina
Asked On January 22, 2020 09:37 PM UTC

Is there some other solution for this?

I mean, it works when I put this
args.data.VrijediOd = ej.data.DataUtil.dateParse.addSelfOffset(new Date(args.data.VrijediOd)).toISOString();
in the ActionBegin for Save, but maybe without writing this on every page with datagrid with date columns?

Thanks!
Bernard.


Dhivya Rajendran [Syncfusion]
Replied On January 23, 2020 10:17 AM UTC

Hi Bernard, 

Thanks for contacting us. 

If we want to change date object into ISO string then we suggest you to use the DataUtil.dateParse method in actionBegin event. Unsuccessfully, we don’t have any other way/method to achieve this requirement. 

Please get back to us, If you need further assistance. 

Regards, 
R.Dhivya 


Bernard Jurlina
Replied On January 23, 2020 09:14 PM UTC

Hi Dhivya,

and thanks for the answer.

Regards,
Bernard.

Dhivya Rajendran [Syncfusion]
Replied On January 24, 2020 09:36 AM UTC

Hi Bernard, 

Thanks for your update. Please get back to us if you need further assistance from us. 

Regards, 
R.Dhivya 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon