C# has provided a way for entered data is DST date or not? I want to implement in my demo project how can I use it?
How to check a given date is DST date or not using C#?
290122-Oct-2013
Home / DeveloperSection / Forums / How to check a given date is DST date or not using C#?
Royce Roy
22-Oct-2013You provide a year and it will return a DaylightTime object, which contains the start and end dates for daylight saving. You can then compare your date against those two to determine if its a DLS date or not. Whilst this answer has been accepted, please see Matt Johnson's answer below for details why it's not the best answer and why the TimeZoneInfo class should be used instead.
Follow This Link to resolve your problem.