Routines for time management. More...
#include "chsvbase.h"
#include "chsvsal.h"
#include "chsverr.h"
#include <mutex>
#include <chrono>
#include <ctime>
#include <chsvlib/chsvexception.h>
Namespaces | |
Chusov | |
Basic chsvlib namespace. | |
Functions | |
int | gmtime (const std::time_t *restrict tp, std::tm *restrict pResult) noexcept |
Converts time passed since the epoch on the target machine and specified as a time_t variable into calendar UTC time expressed by an object of the type tm. More... | |
int | localtime (const time_t *restrict tp, struct tm *restrict pResult) noexcept |
Converts time passed since the epoch on the target machine and specified as a time_t variable into local calendar time expressed by an object of the type tm. More... | |
std::chrono::system_clock::duration | local_zone_get () |
Returns the local time zone expressed as time duration relative to UTC time. More... | |
Routines for time management.