Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

arif's avatar
Level 1

Full calendar js

hey guys, i am making a booking system using a full calendar and i got stuck in between. so help me Here's the problem. In my website there are two section student and tutor. Tutor can set his working hour in full calendar according to his timezone (eg. tutor form UK and UK timezone) but how can i show working hour(business hour) to different student according to there timezone not tutor timezone. eg: tutor select Wednesday 12pm to 4pm (every month) and his from UK so i want to show his working hour to indian student i.e Wednesday 5pm to 9pm (every month). hope you guys understand this problem. thks in advance

0 likes
1 reply
kfirba's avatar

@arif hey there.

When the tutor select his working hours, save them in UTC time and make sure to also save the timezone in a different column.

Now when the Indian guy try to view that tutor working hours, you fetch them as UTC time and then you can use a library such as Carbon to get the equivalent of this time for a certain timezone (Indian timezone).

Please or to participate in this conversation.