[[["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-08-07 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eSystemClock\u003c/code\u003e class, a singleton implementation of \u003ccode\u003eIClock\u003c/code\u003e within the \u003ccode\u003eGoogle.Api.Gax\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSystemClock\u003c/code\u003e relies on the BCL \u003ccode\u003eUtcNow\u003c/code\u003e property to provide the current date and time.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSystemClock\u003c/code\u003e class implements the \u003ccode\u003eIClock\u003c/code\u003e interface and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstance\u003c/code\u003e property provides access to the singleton instance of \u003ccode\u003eSystemClock\u003c/code\u003e, returning a type of \u003ccode\u003eIClock\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetCurrentDateTimeUtc()\u003c/code\u003e method returns the current date and time in UTC.\u003c/p\u003e\n"]]],[],null,["# Class SystemClock (4.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [4.10.0 (latest)](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.SystemClock)\n- [4.8.0](/dotnet/docs/reference/Google.Api.Gax/4.8.0/Google.Api.Gax.SystemClock)\n- [4.4.0](/dotnet/docs/reference/Google.Api.Gax/4.4.0/Google.Api.Gax.SystemClock)\n- [4.3.1](/dotnet/docs/reference/Google.Api.Gax/4.3.1/Google.Api.Gax.SystemClock)\n- [4.2.0](/dotnet/docs/reference/Google.Api.Gax/4.2.0/Google.Api.Gax.SystemClock)\n- [4.0.0](/dotnet/docs/reference/Google.Api.Gax/4.0.0/Google.Api.Gax.SystemClock)\n- [3.2.0](/dotnet/docs/reference/Google.Api.Gax/3.2.0/Google.Api.Gax.SystemClock) \n\n public sealed class SystemClock : IClock\n\nA singleton implementation of [IClock](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IClock) which delegates to the BCL\n[UtcNow](https://learn.microsoft.com/dotnet/api/system.datetime.utcnow) property. \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.Api.Gax/latest/Google.Api.Gax.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.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.Api.Gax](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax)\n\nAssembly\n--------\n\nGoogle.Api.Gax.dll\n\nProperties\n----------\n\n### Instance\n\n public static IClock Instance { get; }\n\nRetrieves the singleton instance of this type.\n\nMethods\n-------\n\n### GetCurrentDateTimeUtc()\n\n public DateTime GetCurrentDateTimeUtc()\n\nReturns the current date and time in UTC, using [UtcNow](https://learn.microsoft.com/dotnet/api/system.datetime.utcnow)."]]