Link to home
Start Free TrialLog in
Avatar of andieje
andieje

asked on

checking for bristish summer time

Hello

I was wondering if there was any easy way to check if the current date (and time) is within british summer time in vb.net?

Thanks very much
andrea
Avatar of Jeff Certain
Jeff Certain
Flag of United States of America image

Is "British summer time" the same as Daylight Saving Time? If so... no there's not... but I can send you a routine that does the check (at least until Preident Bush changes the start and end dates in 2007)...
If Today.Month<9 And Today.Month>5 Then
   'Summer time
End if
I wonder if the British will adopt Bush-Time?
Probably, if Blair is still in charge :)
Avatar of andieje
andieje

ASKER

no doubt about it if blair is in charge :)

bst is the last sunday in march to the last sunday in october.

Chaosian - if you coudl send your function that would be great
Andrea,

Sorry for the delay -- I was in meetings all afternoon. I'll forward you that code tomorrow morning (before 0900 GMT -7... guess that'll be the end of the day for you?)

Jeff
ASKER CERTIFIED SOLUTION
Avatar of Jeff Certain
Jeff Certain
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of andieje

ASKER

chaosian

that's brilliant. I increased the points to say thanks for your prompt reply :)