[[["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-07-22 UTC."],[],[],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)"]]