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 webpage details the \u003ccode\u003eBigQueryDateTimeExtensions\u003c/code\u003e class, which provides extension methods for \u003ccode\u003eSystem.DateTime\u003c/code\u003e and \u003ccode\u003eSystem.DateTimeOffset\u003c/code\u003e to be utilized with BigQuery.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented on this page is 3.11.0, while the currently viewed version is 2.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAsBigQueryDate\u003c/code\u003e method allows formatting \u003ccode\u003eDateTime\u003c/code\u003e and \u003ccode\u003eDateTimeOffset\u003c/code\u003e values into the yyyy-MM-dd format required by BigQuery.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from the \u003ccode\u003eObject\u003c/code\u003e class, with available inherited members including \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"],["\u003cp\u003eThere are multiple versions documented on the page ranging from 2.2.0 up to 3.11.0, with the other versions being 2.3.0, 2.4.0, and then 3.0.0 to 3.10.0, showing the historical evolution of the API.\u003c/p\u003e\n"]]],[],null,[]]