secToTime()

Scalar. Converts a given number of seconds to a bigdatetime.

Syntax

secToTime ( seconds )

Parameters

seconds

A long representing the number of seconds since the epoch (midnight, January 1, 1970 UTC).

Usage

Converts a given number of seconds to a bigdatetime. The function takes a long as its argument, and the function returns a bigdatetime.

Example

secToTime (3661) returns 1970-01-01 01:01:01.000000.