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\u003eThe \u003ccode\u003eBigQueryDateTimeExtensions\u003c/code\u003e class provides extension methods for \u003ccode\u003eSystem.DateTime\u003c/code\u003e and \u003ccode\u003eSystem.DateTimeOffset\u003c/code\u003e to facilitate their use with BigQuery.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.11.0, while version 3.0.0 is the initial entry point for the section, with several versions between also available, and versions as low as 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAsBigQueryDate\u003c/code\u003e method is an extension method that formats a \u003ccode\u003eDateTime\u003c/code\u003e or \u003ccode\u003eDateTimeOffset\u003c/code\u003e value into the yyyy-MM-dd format expected by BigQuery.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAsBigQueryDate\u003c/code\u003e method, when used with \u003ccode\u003eDateTimeOffset\u003c/code\u003e, utilizes the local time and does not convert the value to UTC.\u003c/p\u003e\n"]]],[],null,[]]