From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/c/chrono.html | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 devdocs/c/chrono.html (limited to 'devdocs/c/chrono.html') diff --git a/devdocs/c/chrono.html b/devdocs/c/chrono.html new file mode 100644 index 00000000..2cd9fef6 --- /dev/null +++ b/devdocs/c/chrono.html @@ -0,0 +1,60 @@ +

Date and time utilities

Functions

+ + + + + + + + + + + + + + + + + +
Time manipulation
Defined in header <time.h>
computes the difference between times
(function)
returns the current calendar time of the system as time since epoch
(function)
returns raw processor clock time since the program is started
(function)
+
(C11)
returns the calendar time in seconds and nanoseconds based on a given time base
(function)
+
(C23)
returns the resolution of calendar time based on a given time base
(function)
Format conversions
Defined in header <time.h>
+
(deprecated in C23)(C11)
converts a tm object to a textual representation
(function)
+
(deprecated in C23)(C11)
converts a time_t object to a textual representation
(function)
converts a tm object to custom textual representation
(function)
Defined in header <wchar.h>
+
(C95)
converts a tm object to custom wide string textual representation
(function)
Defined in header <time.h>
+
(C23)(C11)
converts time since epoch to calendar time expressed as Coordinated Universal Time (UTC)
(function)
+
(C23)(C11)
converts time since epoch to calendar time expressed as local time
(function)
converts calendar time to time since epoch
(function)

Constants

+ +
Defined in header <time.h>
number of processor clock ticks per second
(macro constant)

Types

+ + + + +
Defined in header <time.h>
calendar time type
(struct)
calendar time since epoch type
(typedef)
processor time since era type
(typedef)
+
(C11)
time in seconds and nanoseconds
(struct)

References

See also

+
C++ documentation for C Date and time utilities
+

+ © cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
+ https://en.cppreference.com/w/c/chrono +

+
-- cgit v1.2.3