FUNCTION REFERENCE

datetime.char

Format a scalar datetime as a character row.

Format a scalar datetime as a character row.

Syntax

text = char(t)

Example

t = datetime(2024, 3, 15, 'Format', 'yyyy-MM-dd'); char(t)

See also: datetime

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.