Server_utc usage in react js

Hi Team,

I am trying to save the start and end date along with one custom date in my Db, which is hosted in US.

The date on submit getting saved in US time zone now how do I convert the US timezone date to my local timezone when I wants to display data on scheduler dashboard

Hello @Dharmendra_Kumar ,

You can enable converting dates from the backend to the local time and vice versa by setting the server_utc config to true:

scheduler.config.server_utc = true;

API:
https://docs.dhtmlx.com/scheduler/api__scheduler_server_utc_config.html