EssentialsDateTime.ToLocalTime method
Version 1.1.28
.NET Framework 4.8
| Namespace | Skybrud.Essentials.Time |
|---|---|
| Assembly | Skybrud.Essentials.dll |
ToLocalTime()
Converts the value of the internal DateTime object to local time.
public EssentialsDateTime ToLocalTime()
Returns
An object whose System.DateTime.Kind property is
System.DateTimeKind.Local, and whose value is the local time equivalent to the value of the
internal DateTime object, or System.DateTime.MaxValue if the converted
value is too large to be represented by a DateTime object, or
System.DateTime.MinValue if the converted value is too small to be represented as a
DateTime object.