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.
Unfortunately, activation email could not send to your email. Please try again.

Remove Timezone

Thread ID:

Created:

Updated:

Platform:

Replies:

128602 Jan 31,2017 09:31 AM Feb 2,2017 01:09 AM ASP.NET Core 3
loading
Tags: Grid
Nicholas Picardi
Asked On January 31, 2017 09:31 AM

HI All,

It's possible to remove timezone +01:00

because in SQL i have : 2017-01-01 00:00:00.000

and in Html.EJ().Grid<object>("FlatGrid") i have : 2017-01-01 01:00:00

It's Urgent please!!

Thanks,
Nicholas

Saravanan Arunachalam [Syncfusion]
Replied On February 1, 2017 04:32 AM

Hi Nicholas, 
Thanks for contacting Syncfusion’s support. 
The date-time request on the controller is depend on the server time zone. Please refer to the following link to know more details. 
If the client and server has different timezone, the Grid content will show the date based on the client timezone. So, we suggest you to store date-time in common timezone (GMT/UTC) on the database or convert the date to UTC date format and return to the client. 
Regards, 
Saravanan A. 


Nicholas Picardi
Replied On February 1, 2017 05:25 AM

Thanks,

But why on Internet Explorer this problem is not present?

Saravanan Arunachalam [Syncfusion]
Replied On February 2, 2017 01:09 AM

Hi Nicholas, 
If you return the date from the server without format, it is returned as string to the client and it passes the string to the default browser date constructor. So, we suggest you to format the date while return to show the UTC timezone in all browser and please refer to the below link to get more details. 
Regards, 
Saravanan A. 


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.

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.

;