New Events Created in Scheduler being created in users local timezone

Hello,

I am using the scheduler control to allow the user to schedule particular events(in this case tennis games). Because the court is in a given physical location I want all events to be created in a particular timezone. When I create the scheduler I set the timezone: 'Australia/Sydney', but when the users create an event I can see that the StartTime is in the time of the local machine. How


3 Replies

VR Vijay Ravi Syncfusion Team August 26, 2024 02:15 PM UTC

Hi Jesse Laeuchli, 

 

To ensure that all events are created in a specific timezone (e.g., 'Australia/Sydney') regardless of the user's local machine timezone, you will need to handle the time conversion explicitly when the event is created. Once the times are converted, save the event using these converted times. This ensures that the events are always created in the Australia/Sydney timezone, regardless of the user's local machine time.
 

By following these steps, the StartTime and EndTime of the events will consistently align with the Australia/Sydney timezone, regardless of the user's local machine timezone.


timezone UG: https://ej2.syncfusion.com/javascript/documentation/schedule/timezone#scheduler-set-to-specific-timezone
https://ej2.syncfusion.com/javascript/documentation/schedule/timezone#set-specific-timezone-for-events

Don't hesitate to get in touch if you require further help or more information.

 

Regards,

Vijay

 



DN Dorian Nolan February 26, 2026 10:20 PM UTC

It sounds like the scheduler is only using Australia/Sydney for display, but the event time is still being sent from the user’s local machine.

I’d suggest converting the StartTime to Australia/Sydney on the server side before saving it, instead of relying only on the scheduler’s timezone setting. That way, all events will be stored in the court’s timezone no matter where the user is located.



VR Vijayakumar Rajasekar Syncfusion Team March 2, 2026 08:19 AM UTC

Dorian Nolan
Thanks for your update. You’re correct— When a user creates an event, the browser sends the date in the user’s local time. Convert StartTime/EndTime to Australia/Sydney on create/update server‑side before saving, so all events are stored in the court’s timezone and display consistently.

Regards,

Vijayakumar R


Loader.
Up arrow icon