---
title: UNIX_TIMESTAMP
url: https://www.tines.com/docs/formulas/functions/unix-timestamp/
kind: formula-function
---

*[tines.com](https://www.tines.com/llms.txt) › [Docs](https://www.tines.com/docs/llms.txt) › [Formulas](https://www.tines.com/llm/docs/formulas.md) › [Functions](https://www.tines.com/llm/docs/formulas/functions.md)*

# UNIX_TIMESTAMP

*[View on tines.com](https://www.tines.com/docs/formulas/functions/unix-timestamp/)*

Returns the current unix timestamp, i.e. the number of seconds since midnight on 1 January 1970

**Categories:** Dates/Times

## Syntax

```
UNIX_TIMESTAMP()
```

## Examples

### Example 1

Formula:

```
UNIX_TIMESTAMP()
```

Output:

```json
1647965833
```

## Sample actions

```json
{
  "standardLibVersion": "13",
  "actionRuntimeVersion": "1",
  "agents": [
    {
      "disabled": false,
      "name": "UNIX_TIMESTAMP",
      "description": "",
      "options": {
        "mode": "message_only",
        "loop": false,
        "payload": {
          "unix": "=UNIX_TIMESTAMP()"
        }
      },
      "position": {
        "x": -6660,
        "y": -1440
      },
      "type": "eventTransformation",
      "timeSavedUnit": "minutes",
      "timeSavedValue": 0,
      "monitorAllEvents": false,
      "monitorFailures": false,
      "monitorNoEventsEmitted": null,
      "form": null
    },
    {
      "disabled": false,
      "name": "My Action",
      "description": "",
      "options": {
        "mode": "message_only",
        "loop": false,
        "payload": {
          "time": "2022-11-21 16:00:00"
        }
      },
      "position": {
        "x": -6660,
        "y": -1530
      },
      "type": "eventTransformation",
      "timeSavedUnit": "minutes",
      "timeSavedValue": 0,
      "monitorAllEvents": false,
      "monitorFailures": false,
      "monitorNoEventsEmitted": null,
      "form": null
    }
  ],
  "links": [
    {
      "sourceIdentifier": 1,
      "receiverIdentifier": 0
    }
  ],
  "diagramNotes": []
}
```
