Use the TimeZoneInfo static methods FindSystemTimeZoneById() and ConvertTimeFromUtc() to retrieve the local timezone and get the local time.

The following code gets the local time in the Central Time Zone.