---
title: "gsql_current_time_epoch()"
component: "gsql-ref"
version: "4.2"
module: "ddl-and-loading"
html_url: "/gsql-ref/4.2/ddl-and-loading/functions/token/gsql_current_time_epoch"
canonical_url: "https://www.tigergraph.com/docs/gsql-ref/4.2/ddl-and-loading/functions/token/gsql_current_time_epoch"
markdown_url: "https://www.tigergraph.com/docs/gsql-ref/4.2/ddl-and-loading/functions/token/gsql_current_time_epoch.md"
---

[View as HTML](https://www.tigergraph.com/docs/gsql-ref/4.2/ddl-and-loading/functions/token/gsql_current_time_epoch)

# gsql_current_time_epoch()

Returns the current time in Unix epoch seconds.

## Syntax

`gsql_current_time_epoch(0)`

## Parameters

The function takes one `INT` parameter. This parameter is actually ignored, but by convention, set its value to 0.

## Return type

`UINT`
