Non localtime()-based time function.
More...
Non localtime()-based time function.
string DMA::dateTime |
( |
double |
tm | ) |
|
Return string-ified Unix time as YYYY-MM-DD HH:MM:SS.uuuuuu.
- Parameters
-
- Returns
- string-ified Unix time as YYYY-MM-DD HH:MM:SS.uuuuuu
int DMA::hour |
( |
double |
tm | ) |
|
Return hour not using localtime()
- Parameters
-
- Returns
- Hour from Unix time
int DMA::minute |
( |
double |
tm | ) |
|
Return minute, not using localtime()
- Parameters
-
- Returns
- Minute from Unix time
double DMA::replayTime |
( |
Context |
cxt | ) |
|
Return replay (tape) time.
- Parameters
-
cxt | - Context driven into Python |
- Returns
- Seconds.Microseconds since Jan 1, 1970
int DMA::second |
( |
double |
tm | ) |
|
Return second, not using localtime()
- Parameters
-
- Returns
- Second from Unix time
int DMA::seconds_Today |
( |
double |
tm | ) |
|
Return number of seconds today, not using localtime()
- Parameters
-
- Returns
- Second today from Unix time
double DMA::wallTime |
( |
Context |
cxt | ) |
|
Return local (wall) time.
- Parameters
-
cxt | - Context driven into Python |
- Returns
- Seconds.Microseconds since Jan 1, 1970