TimeUtils
Functions
Name | |
---|---|
long | GetRealTime()<br>Gets real time. |
long | GetTime()<br>Gets the time. |
long int | minutesSinceEpoch() |
std::string | minutesSinceEpochToString(long int minutes) |
long int | stringToMinutesSinceEpoch(std::string str) |
float | TimeDiff(long time1, long time2)<br>Time difference in seconds. |
Functions Documentation
function GetRealTime
cpp
long GetRealTime()
long GetRealTime()
Gets real time.
Return: The real time.
Synonym of GetTime()
function GetTime
cpp
long GetTime()
long GetTime()
Gets the time.
Return: The time.
Synonym of GetRealTime()
function minutesSinceEpoch
cpp
long int minutesSinceEpoch()
long int minutesSinceEpoch()
function minutesSinceEpochToString
cpp
std::string minutesSinceEpochToString(
long int minutes
)
std::string minutesSinceEpochToString(
long int minutes
)
function stringToMinutesSinceEpoch
cpp
long int stringToMinutesSinceEpoch(
std::string str
)
long int stringToMinutesSinceEpoch(
std::string str
)
function TimeDiff
cpp
float TimeDiff(
long time1,
long time2
)
float TimeDiff(
long time1,
long time2
)
Time difference in seconds.
Parameters:
- time1 The first time in [ms].
- time2 The second time in [ms].
Return: A float.
Updated on 2024-11-06 at 20:16:53 +0000