Overview
TheTIMESTAMP_SECONDS() function converts a given UNIX timestamp value in seconds from 1970-01-01 00:00:00 UTC into a timestamp. Its syntax can be seen below:
int64 expression representing a UNIX timestamp in seconds, and the return data type is a timestamp.
Examples
#Case 1: Basic TIMESTAMP_SECONDS() function
The below example uses the TIMESTAMP_SECONDS() function to convert a given UNIX timestamp in seconds into a timestamp: