FORMAT_DATETIME
Description
Token
Meaning
Example
Example
p is Person
FORMAT_DATETIME(p.appointment_datetime, 'DD.MM.YYYY hh:mm')Last updated
Was this helpful?
FORMAT_DATETIME takes a datetime value and a format string, and returns the datetime formatted as a human-readable string. The format string uses the same tokens as FORMAT_DATE, with the addition of time tokens.
DD
Day of the month (zero-padded)
05
MM
Month number (zero-padded)
03
YYYY
Four-digit year
2024
hh
Hour (24-hour clock, zero-padded)
14
mm
Minutes (zero-padded)
30
ss
Seconds (zero-padded)
00
p is Person
FORMAT_DATETIME(p.appointment_datetime, 'DD.MM.YYYY hh:mm')This returns a string like "05.03.2024 14:30".
Last updated
Was this helpful?
Was this helpful?
