SatDump 2.0.0-alpha-76a915210
|
A collection of time-related utility functions. More...
#include <string>
Go to the source code of this file.
Functions | |
double | satdump::getTime () |
Get high-precision current UNIX time (milliseconds-level). | |
std::string | satdump::timestamp_to_string (double timestamp, bool local=false) |
Format an unit timestamp to string. |
A collection of time-related utility functions.
double satdump::getTime | ( | ) |
Get high-precision current UNIX time (milliseconds-level).
std::string satdump::timestamp_to_string | ( | double | timestamp, |
bool | local = false ) |
Format an unit timestamp to string.
timestamp | UNIX Timestamps in seconds |
local | format to local time. UTC (false) by default |