Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GMT/BST Date/Time Function

Status
Not open for further replies.

aesseal

Programmer
Nov 29, 2002
23
US
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?

Thanks!

Dan
 
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.

Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top