public static string AsBigQueryDate(this DateTimeOffset value)
Returns the given date and time formatted as BigQuery expects date values to be formatted.
The "local" value of the DateTimeOffset is used; it is not converted to UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation page covers the \u003ccode\u003eBigQueryDateTimeExtensions\u003c/code\u003e class within the Google BigQuery v2 API for .NET, focusing on version 3.9.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBigQueryDateTimeExtensions\u003c/code\u003e offers extension methods for \u003ccode\u003eSystem.DateTime\u003c/code\u003e and \u003ccode\u003eSystem.DateTimeOffset\u003c/code\u003e to facilitate their use with BigQuery's data formats.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains two methods, \u003ccode\u003eAsBigQueryDate(DateTime)\u003c/code\u003e and \u003ccode\u003eAsBigQueryDate(DateTimeOffset)\u003c/code\u003e, which format date and time values into the \u003ccode\u003eyyyy-MM-dd\u003c/code\u003e format that BigQuery requires.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API available is version 3.11.0, with the documentation also providing links to prior version's documentation going back to version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits members from the base \u003ccode\u003eobject\u003c/code\u003e class, like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]