DRAFTThis page is not published. Only visible in development mode.
date module

date::format

Format a date as a string.

Syntax

RQL

Parameters

NameTypeDescription
date_valueDate/TimestampThe date to format
format_stringUtf8Format string using strftime syntax (e.g., "%Y-%m-%d")

Return Value

Returns a string representing the formatted date.

Examples

$ Format date as string
$ ctrl+enter to run

Related Functions