I am currently working on an angular project that involves displaying the start and end times of office hours in a table.
For instance, the office operates from 8:30 AM to 5:30 PM.
This particular office has branches located in the UK and India.
Since users may input times based on either UK or Indian time zones, I'm planning to store the data in GMT.
To achieve this, I need to provide an option for users to select their time zone and enter the corresponding time.
Afterward, I must convert that local time to GMT before sending it to the database.
Could you please guide me on how to convert UK time to GMT?
If you have any other ideas or suggestions for handling this scenario, I would greatly appreciate your advice.
Thank you.