tm2timestamp()
#
Convert a struct tm
to a timestamp in seconds since the epoch.
Prototype
PUBLIC double tm2timestamp(
const struct tm *tm
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
A pointer to the |
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