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 for .NET, which provides extension methods to format \u003ccode\u003eSystem.DateTime\u003c/code\u003e and \u003ccode\u003eSystem.DateTimeOffset\u003c/code\u003e for use with BigQuery.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API documented here is 3.11.0, and there are multiple prior versions available, ranging back to 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two static methods: \u003ccode\u003eAsBigQueryDate(DateTime)\u003c/code\u003e and \u003ccode\u003eAsBigQueryDate(DateTimeOffset)\u003c/code\u003e, both designed to format date and time values into the yyyy-MM-dd string format that BigQuery expects.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAsBigQueryDate(DateTimeOffset)\u003c/code\u003e method utilizes the local value of the \u003ccode\u003eDateTimeOffset\u003c/code\u003e and it is not converted to UTC.\u003c/p\u003e\n"]]],[],null,[]]