c# change application time to bc 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