[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSystemClock\u003c/code\u003e class is a default clock implementation that conforms to the \u003ccode\u003eIClock\u003c/code\u003e interface, utilizing the \u003ccode\u003eUtcNow\u003c/code\u003e and \u003ccode\u003eNow\u003c/code\u003e properties.\u003c/p\u003e\n"],["\u003cp\u003eThis class, found within the \u003ccode\u003eGoogle.Apis.Util\u003c/code\u003e namespace in the \u003ccode\u003eGoogle.Apis.Core.dll\u003c/code\u003e assembly, inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSystemClock\u003c/code\u003e has two key properties, \u003ccode\u003eNow\u003c/code\u003e and \u003ccode\u003eUtcNow\u003c/code\u003e, which return the current date and time as a \u003ccode\u003eDateTime\u003c/code\u003e object in local time and UTC respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDefault\u003c/code\u003e field provides a readily available instance of \u003ccode\u003eIClock\u003c/code\u003e for easy use.\u003c/p\u003e\n"],["\u003cp\u003eThis class has several available versions listed, with version 1.69.0 being the latest.\u003c/p\u003e\n"]]],[],null,["# Class SystemClock (1.69.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.69.0 (latest)](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util.SystemClock)\n- [1.68.0](/dotnet/docs/reference/Google.Apis/1.68.0/Google.Apis.Util.SystemClock)\n- [1.60.0](/dotnet/docs/reference/Google.Apis/1.60.0/Google.Apis.Util.SystemClock)\n- [1.59.0](/dotnet/docs/reference/Google.Apis/1.59.0/Google.Apis.Util.SystemClock)\n- [1.55.0](/dotnet/docs/reference/Google.Apis/1.55.0/Google.Apis.Util.SystemClock)\n- [1.50.0](/dotnet/docs/reference/Google.Apis/1.50.0/Google.Apis.Util.SystemClock) \n\n public class SystemClock : IClock\n\nA default clock implementation that wraps the [UtcNow](https://learn.microsoft.com/dotnet/api/system.datetime.utcnow)\nand [Now](https://learn.microsoft.com/dotnet/api/system.datetime.now) properties. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SystemClock \n\nImplements\n----------\n\n[IClock](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util.IClock) \n\nInherited Members\n-----------------\n\n[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)) \n[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Apis.Util](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util)\n\nAssembly\n--------\n\nGoogle.Apis.Core.dll\n\nConstructors\n------------\n\n### SystemClock()\n\n protected SystemClock()\n\nConstructs a new system clock.\n\nFields\n------\n\n### Default\n\n public static readonly IClock Default\n\nThe default instance.\n\nProperties\n----------\n\n### Now\n\n public DateTime Now { get; }\n\nGets a [DateTime](https://learn.microsoft.com/dotnet/api/system.datetime) object that is set to the current date and time on this computer,\nexpressed as the local time.\n\n### UtcNow\n\n public DateTime UtcNow { get; }\n\nGets a [DateTime](https://learn.microsoft.com/dotnet/api/system.datetime) object that is set to the current date and time on this computer,\nexpressed as UTC time.\n\nExtension Method\n----------------\n\n[Utilities.ThrowIfNull\\\u003cT\\\u003e(T, string)](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util.Utilities#Google_Apis_Util_Utilities_ThrowIfNull__1___0_System_String_)"]]