public interface IClockClock wrapper for getting the current time.
Namespace
Google.Apis.UtilAssembly
Google.Apis.Core.dll
Properties
Now
[Obsolete("System local time is almost always inappropriate to use. If you really need this, call UtcNow and then call ToLocalTime on the result")]
DateTime Now { get; }Gets a DateTime object that is set to the current date and time on this computer, expressed as the local time.
| Property Value | |
|---|---|
| Type | Description |
DateTime |
|
UtcNow
DateTime UtcNow { get; }Gets a DateTime object that is set to the current date and time on this computer, expressed as UTC time.
| Property Value | |
|---|---|
| Type | Description |
DateTime |
|