c# convert string with timezone to datetime code example
Example: convert datetime to user timezone c#
var utcTime = DateTime.UtcNow; // utc
var localTime = utcTime.ToLocalTime(); // users local time
var utcTime = DateTime.UtcNow; // utc
var localTime = utcTime.ToLocalTime(); // users local time