About 105,000 results
Open links in new tab
  1. time - cppreference.com

    Dec 27, 2021 · Notes The encoding of calendar time in time_t is unspecified, but most systems conform to POSIX specification and return a value of integral type holding the number of …

  2. std:: time - cppreference.com

    Oct 27, 2023 · Returns the current calendar time encoded as a std::time_t object, and also stores it in the object pointed to by arg, unless arg is a null pointer.

  3. Date and time library - cppreference.com

    Feb 24, 2025 · Time of day (since C++20) hh_mm_ss splits a duration representing time elapsed since midnight into hours, minutes, seconds, and fractional seconds, as applicable. It is …

  4. Standard library header <time.h> - cppreference.com

    Feb 15, 2025 · Only if supported by the implementation: #define TIME_MONOTONIC /* see description */#define TIME_ACTIVE /* see description */ Only if threads are supported and it is …

  5. Standard library header <ctime> - cppreference.com

    Feb 1, 2023 · Functions Time manipulation clock returns raw processor clock time since the program is started (function) [edit] time returns the current time of the system as time since …

  6. time_t - cppreference.com

    Nov 7, 2022 · Notes The standard uses the term calendar time when referring to a value of type time_t.

  7. gmtime, gmtime_r, gmtime_s - cppreference.com

    May 9, 2025 · 1) Converts given time since epoch (a time_t value pointed to by timer) into calendar time, expressed in Coordinated Universal Time (UTC) in the struct tm format. The …

  8. std:: time_t - cppreference.com

    Oct 27, 2023 · [edit] C-style date and time utilities Functions Time manipulation difftime time clock timespec_get (C++17) Format conversions asctime ctime strftime wcsftime gmtime localtime …

  9. ctime, ctime_s - cppreference.com

    Sep 3, 2022 · Notes ctime returns a pointer to static data and is not thread-safe. In addition, it modifies the static tm object which may be shared with gmtime and localtime. POSIX marks …

  10. std::localtime - cppreference.com

    May 9, 2025 · Return value Pointer to a static internal std::tm object on success, or null pointer otherwise. The structure may be shared between std::gmtime, std::localtime, and std::ctime, …