Gets a DateTimeOffset object that is set to the current date and time on the current computer, with the offset set to the local time's offset from Coordinated Universal Time (UTC).
| C# | Visual Basic |
public static DateTimeOffset Now { get; }
Public Shared ReadOnly Property Now As DateTimeOffset Get