Sample usage
FORMAT_DATETIME("%c", Order Date)
Syntax
FORMAT_DATETIME( format_string, date_expression )
Parameters
format_string
- See Supported Format Elements For DATETIME for a list of format elements that this function supports.
date_expression
- a Date or a Date & Time field or expression.
Return data type
Text 1
Examples
Example formula | Output |
---|---|
|
|
|
|
|
|
Notes
This function is not available for compatibility mode date types.
- Date strings may be interpreted as compatibility mode Date data types. To preserve the specified format, change the field type to Text.