Interface IClock (1.50.0)

public interface IClock

Clock wrapper for getting the current time.

Namespace

Google.Apis.Util

Assembly

Google.Apis.Core.dll

Properties

Now

DateTime Now { get; }

Gets a object that is set to the current date and time on this computer, expressed as the local time.

Property Value
TypeDescription
DateTime

UtcNow

DateTime UtcNow { get; }

Gets a object that is set to the current date and time on this computer, expressed as UTC time.

Property Value
TypeDescription
DateTime

Extension Method