DateTime
already has a function called IsDaylightSavingTime
that returns a boolean
if that DateTime
falls under Daylight Saving Time or not. However, it uses server (local) time to make that determination.
In my Web services I have a DateTimeOffset
for each of my clients throughout the country. How can I determine IsDaylightSavingTime
from a DateTimeOffset
?