I developed a web application (with java) and in it I have a business rule which needs to save the user's subscription time. However I need to save 3 times: user's local timezone, global timezone, and server timezone.
My problem is in testing the user's local timezone. Does anyone know how I can simulate a different timezone for the browser, so I can simulate this test?
Note: I thought about creating a virtual machine, and hosting my application on it, and doing the test, because I would only have to change the timezone of the virtual machine. So this process will take a long time, I want to know if there is any simple way.