Outdated Version
You are viewing an older version of this section. View current production version.
Date and Time Functions
This page contains a list of all date and time functions in MemSQL:
- UNIX_TIMESTAMP
- TIMESTAMP
- WEEKDAY
- YEAR
- DAYNAME
- LOCALTIMESTAMP
- TIME_TO_SEC
- MINUTE
- DATEDIFF
- UTC_TIMESTAMP
- FROM_DAYS
- TIME
- SEC_TO_TIME
- FROM_UNIXTIME
- CURRENT_TIMESTAMP
- MONTHNAME
- CURRENT_DATE
- HOUR
- DAY
- DATE
- CURRENT_TIME
- UTC_DATE
- LAST_DAY
- MONTH
- UTC_TIME
- QUARTER
- SECOND
- DAYOFWEEK
- DAYOFYEAR
- DATE_ADD
- DATE_FORMAT
- DATE_SUB
- GET_FORMAT
- TO_SECONDS
- TIMESTAMPADD
- EXTRACT
- TIMESTAMPDIFF
- ADDTIME
- STR_TO_DATE
- WEEK
- CONVERT_TZ
- TIMEDIFF
- TO_DAYS
- TIME_FORMAT
- DATE_TRUNC