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 covers the \u003ccode\u003eBigQueryDateTimeExtensions\u003c/code\u003e class within the Google BigQuery v2 API, which provides extension methods for working with dates and times in BigQuery.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.11.0, and the documentation includes versions dating back to 2.2.0, allowing for access to version-specific details.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBigQueryDateTimeExtensions\u003c/code\u003e class offers methods like \u003ccode\u003eAsBigQueryDate\u003c/code\u003e to format \u003ccode\u003eDateTime\u003c/code\u003e and \u003ccode\u003eDateTimeOffset\u003c/code\u003e values into the specific yyyy-MM-dd date format required by BigQuery.\u003c/p\u003e\n"],["\u003cp\u003eThe two \u003ccode\u003eAsBigQueryDate\u003c/code\u003e methods serve to format \u003ccode\u003eDateTime\u003c/code\u003e and \u003ccode\u003eDateTimeOffset\u003c/code\u003e objects, returning the date as a string in the yyyy-MM-dd format, and the \u003ccode\u003eDateTimeOffset\u003c/code\u003e is not converted to UTC.\u003c/p\u003e\n"],["\u003cp\u003eIt is documented that this \u003ccode\u003eBigQueryDateTimeExtensions\u003c/code\u003e class inherits members from the base \u003ccode\u003eObject\u003c/code\u003e class, such as GetHashCode(), GetType(), MemberwiseClone(), and ToString().\u003c/p\u003e\n"]]],[],null,[]]