Hi Marco,
Greetings from Syncfusion support.
From your query, it appears that the DateTime is
consistently two hours earlier. Our analysis suggests that this discrepancy
might be due to a difference in time zones between the server-side and
client-side configurations.
To adjust the time zone on the client-side, we recommend
utilizing the DataUtil.serverTimezoneOffset property. Here's an example of how
you can implement it in your CSHTML file:
|
[CSHTML]
<script>
ej.data.DataUtil.serverTimezoneOffset = +2;
.
. . . .
</script>
|
We believe that implementing this solution will help you
resolve the issue you're facing. If you have any further questions or require
additional assistance, please let us know.
Regards,
Santhosh I