Contains time related os apis.
Function Documentation
Retrieves a string containing the default timezone for the current host.
- Parameters:
-
[out] | tzname | Points to a buffer that will be filled with the timezone string. |
[in] | buflen | Size in bytes of the buffer provided for the 'tzname' argument. |
- Return values:
-
OS_RETURN_CODE_NO_ERROR | If the operation succeeded |
OS_RETURN_CODE_TIME_QUERY_FAILED | If the operation failed |
- Returns:
- Operation status code.
- Availability:
- O/S: Windows, Linux & macOS*
CPU: All
Retrieves current time in 1us ticks since 1970.
- Parameters:
-
[out] | CurrentTime | Current time |
- Return values:
-
OS_RETURN_CODE_NO_ERROR | If the operation succeeded |
OS_RETURN_CODE_TIME_QUERY_FAILED | If the operation failed |
- Returns:
- Operation status code.
- Availability:
- O/S: Windows, Linux & macOS*
CPU: All