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, offering methods for formatting \u003ccode\u003eDateTime\u003c/code\u003e and \u003ccode\u003eDateTimeOffset\u003c/code\u003e values for BigQuery.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 3.11.0, with older versions, including 3.5.0, also accessible through provided links.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBigQueryDateTimeExtensions\u003c/code\u003e class provides extension methods, \u003ccode\u003eAsBigQueryDate\u003c/code\u003e, that convert \u003ccode\u003eDateTime\u003c/code\u003e and \u003ccode\u003eDateTimeOffset\u003c/code\u003e instances into a string representation in the format "yyyy-MM-dd" for use with BigQuery.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAsBigQueryDate\u003c/code\u003e method for \u003ccode\u003eDateTimeOffset\u003c/code\u003e uses the local value of the \u003ccode\u003eDateTimeOffset\u003c/code\u003e, and it will not be converted to UTC.\u003c/p\u003e\n"]]],[],null,[]]