Bit of a newbie with JavaScript and I have spent ages trying to work this one out: I am allowing a visitor to book a future meeting date & time (at the visitor's local time)
I am in UK time and whilst not wanting to constrict the available meeting time, would like to show the visitor what the UK time would be for their requested Date/Time.
So I get the future date from the visitor, get their local timezoneoffset, so now I need to find whether (for the meeting date) either the visitor's local time and / or the UK time is subject to DST and make the necessary adjustments.
I have seen functions that ascertain whether DST is in effect for the current date but I can't see a function that will do the same for a future date, or a different timezone. Are there such functions or do I need to find the visitor's TZ and run the future date against a list of Timezones Start Date / End Dates?
Regards, Nick