I have a system that returns a date and time in GMT all year round. I need a function to find out if the date passed through is in BST or not and add an hour accordingly. Has anyone any idea if this sort of thing already exists?
You will need to be careful if you use a function that already exists for this as the date that BST starts is different to the date that DST starts in the US.
It should be simple to write your own function baring in mind that BST starts on the last Sunday of March and ends on the last Sunday of October.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.