Editare

Partajați prin


TimeProvider.GetLocalNow Method

Definition

Gets a DateTimeOffset value that is set to the current date and time according to this TimeProvider's notion of time based on GetUtcNow(), with the offset set to the LocalTimeZone's offset from Coordinated Universal Time (UTC).

public:
 DateTimeOffset GetLocalNow();
public DateTimeOffset GetLocalNow ();
member this.GetLocalNow : unit -> DateTimeOffset
Public Function GetLocalNow () As DateTimeOffset

Returns

Applies to