ASP.NET Core DateTime - ToLocalTime vs ConvertTime

Viewed 1689

What is the correct way of converting UTC DateTime to local time (CET)? Should I use System.DateTime.ToLocalTime() or TimeZoneInfo.ConvertTime()? Are there any differences? Or are they just two methods internally calling each other?

1 Answers
Related