Timestamp Functions¶
BodoSQL currently supports the following Timestamp functions:
ADDDATE
CURDATE
CURRENT_DATE
CURRENT_TIME
CURRENT_TIMESTAMP
DATE_ADD
DATE_FORMAT
DATE_FROM_PARTS
DATE_PART
DATE_SUB
DATE_TRUNC
DATEADD
DATEDIFF
DATEFROMPARTS
DAYNAME
EXTRACT
FROM_DAYS
FROM_UNIXTIME
GETDATE
HOUR
LAST_DAY
LOCALTIME
LOCALTIMESTAMP
MAKEDATE
MICROSECOND
MINUTE
MONTH
MONTH_NAME
MONTHNAME
NOW
QUARTER
SECOND
STR_TO_DATE
SUBDATE
SYSDATE
SYSTIMESTAMP
TIME_FROM_PARTS
TIME_SLICE
TIMEADD
TIMEFROMPARTS
TIMESTAMP_FROM_PARTS
TIMESTAMP_LTZ_FROM_PARTS
TIMESTAMP_NTZ_FROM_PARTS
TIMESTAMP_TZ_FROM_PARTS
TIMESTAMPADD
TIMESTAMPDIFF
TIMESTAMPFROMPARTS
TIMESTAMPLTZFROMPARTS
TIMESTAMPNTZFROMPARTS
TIMESTAMPTZFROMPARTS
TO_DAYS
TO_SECONDS
TRUNC
UNIX_TIMESTAMP
UTC_DATE
UTC_TIMESTAMP
WEEK
WEEKDAY
WEEKISO
WEEKOFYEAR
YEAR
YEAROFWEEKISO
YEARWEEK