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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage details the `BigQueryDateTimeExtensions` class, which provides extension methods for `System.DateTime` and `System.DateTimeOffset` to be used with BigQuery."],["The latest version documented is 3.11.0, with a history of versions back to 2.2.0 available, all within the `Google.Cloud.BigQuery.V2` namespace."],["The `AsBigQueryDate` method formats a given `DateTime` or `DateTimeOffset` value into a string representing the date in yyyy-MM-dd format, as expected by BigQuery."],["The `AsBigQueryDate` method for `DateTimeOffset` uses the local value of the object, rather than converting it to UTC."]]],[]]