## Syntax
```mermaid
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
Start((START)) --> UNIX_TIMESTAMP[UNIX_TIMESTAMP]:::quoted
UNIX_TIMESTAMP --> End((END))
```
## Purpose
The `UNIX_TIMESTAMP` SQL functions get the UNIX epoch time of a date/time.
Parameters:
- Input: A dateTime. Current date/time is used when no value is specified.
Returns: the UNIX epoch time.