time¶
Convenience functions for the handling of time stamps.
In getML, time stamps are always expressed as a floating point value. This float measures the number of seconds since UNIX time (January 1, 1970, 00:00:00). Smaller units of time are expressed as fractions of a second.
To make this a bit easier to handle, this module contains simple convenience functions that express other time units in terms of seconds.
Functions
|
Returns the number of seconds since UNIX time (January 1, 1970, 00:00:00). |
|
Expresses num days in terms of seconds. |
|
Expresses num hours in terms of seconds. |
|
Expresses num microseconds in terms of fractions of a second. |
|
Expresses num milliseconds in terms of fractions of a second. |
|
Expresses num minutes in terms of seconds. |
|
Transforms num into a float64. |
|
Expresses num weeks in terms of seconds. |