c# convert from server timezone to another timezone 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