t2timestamp()

t2timestamp()#

Convert a time value in seconds since the epoch to a double timestamp.

Prototype

PUBLIC double t2timestamp(
    time_t t
);
        

Parameters

Key

Type

Description

t

time_t

The time value in seconds since the epoch.


Return Value

Returns the timestamp as a double value in seconds since the epoch.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples