Namespaces
Variants
Views
Actions

TIME_UTC

From cppreference.com
< c‎ | chrono
Defined in header <time.h>
#define TIME_UTC /*implementation defined*/
(since C11)

Expands to an integer constant greater than 0 that designates the UTC time base and used by timespec_get().

[edit] Notes

Implementations may define additional time bases, but are only required to support a real time clock based on UTC

[edit] References

  • C11 standard (ISO/IEC 9899:2011):
  • 7.27.1/2 TIME_UTC (p: 388)

[edit] See also

returns the calendar time in seconds and nanoseconds based on a given time base
(function) [edit]
time in seconds and nanoseconds
(struct)[edit]
C++ documentation for TIME_UTC