Method ToLocalTime
ToLocalTime(DateTime)
Converts a DateTime to local time (with special handling for MinValue and MaxValue).
Parameters
dateTime
DateTime A DateTime.
Returns
- Date
Time The DateTime in local time.
Converts a DateTime to local time (with special handling for MinValue and MaxValue).
dateTime
DateA DateTime.
The DateTime in local time.