Hi Kavishka Subashana,
Query:
Time is
changing when the column data type is date
The mentioned issue may
occur due to TimeZone offset differences, we can resolve this time zone issue
with ServerTimezoneOffset, this property is used to set the time-zone
offset from UTC, in hours. we suggest you perform the time zone calculation as
explained in our below UG documentation,
https://help.syncfusion.com/js/datamanager/servertimezoneoffset
Refer to the below code example,
|
<script>
var
serverTimeZoneDiff = +1.0 //
server time zone (in hours)
var
clientSideTimeZoneDiff = new Date().getTimezoneOffset() / 60;
//
get client time zone difference and convert it to hours;
ej.serverTimezoneOffset = serverTimeZoneDiff + clientSideTimeZoneDiff;
</script>
|
Kindly get
back to us for further assistance.
Regards,
Pon selva
If this post is
helpful, please consider Accepting it as the solution so that other members can
locate it more quickly.