[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-31。"],[],[],null,["FORMAT_DATETIME\n===============\n\nConverts a date or date and time to formatted text.\n\nSample usage\n------------\n\n`FORMAT_DATETIME(\"%c\", Order Date)`\n\nSyntax\n------\n\n`FORMAT_DATETIME( `\u003cvar translate=\"no\"\u003eformat_string\u003c/var\u003e`, `\u003cvar translate=\"no\"\u003edate_expression\u003c/var\u003e` )`\n\n### Parameters\n\n\u003cvar translate=\"no\"\u003eformat_string\u003c/var\u003e - See [Supported Format Elements For DATETIME](https://cloud.google.com/bigquery/docs/reference/standard-sql/datetime_functions#supported_format_elements_for_datetime) for a list of format elements that this function supports.\n\n\u003cvar translate=\"no\"\u003edate_expression\u003c/var\u003e - a Date or a Date \\& Time field or expression.\n\nReturn data type\n----------------\n\nText ^1^\n\nExamples\n--------\n\nNotes\n-----\n\nThis function is not available for compatibility mode date types.\n\n1. Date strings may be interpreted as compatibility mode Date data types. To preserve the specified format, change the field type to Text.\n\nRelated resources\n-----------------\n\n- [Dates and times](/looker/docs/studio/dates-and-times)\n- [Calculated fields](/looker/docs/studio/about-calculated-fields)\n- [Looker Studio function list](/looker/docs/studio/function-list)"]]