"Use ToLocal() method instead, so you get control over it using via LocalTime.CurrentTimeZone."
"Use ToUniversal() method instead, so you get control over it using via LocalTime.CurrentTimeZone."
...
DateTime? fromDate = LocalTime.Now;
var myTestVar = fromDate.Value.ToLocalTime();
should be 🡻
DateTime? fromDate = LocalTime.Now;
var myTestVar = fromDate.Value.ToLocal();
DateTime? fromDate = LocalTime.Now;
var myTestVar = fromDate.Value.ToUniversalTime();
should be 🡻
DateTime? fromDate = LocalTime.Now;
var myTestVar = fromDate.Value.ToUniversal();