Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      C Date and time utilities

      From cppreference.com
      <cpp‎ |chrono
       
       
      Date and time library
       
      C-style date and time utilities
       

      Contents

      [edit]Functions

      Defined in header<ctime>
      Time manipulation
      computes the difference between times
      (function)[edit]
      returns the current time of the system as time since epoch
      (function)[edit]
      returns raw processor clock time since the program is started
      (function)[edit]
      returns the calendar time in seconds and nanoseconds based on a given time base
      (function)[edit]
      Format conversions
      converts astd::tm object to a textual representation
      (function)[edit]
      converts astd::time_t object to a textual representation
      (function)[edit]
      converts astd::tm object to custom textual representation
      (function)[edit]
      converts astd::tm object to custom wide string textual representation
      (function)[edit]
      converts time since epoch to calendar time expressed as Universal Coordinated Time
      (function)[edit]
      converts time since epoch to calendar time expressed as local time
      (function)[edit]
      converts calendar time to time since epoch
      (function)[edit]

      [edit]Constants

      number of processor clock ticks per second
      (macro constant)[edit]

      [edit]Types

      calendar time type
      (class)[edit]
      time since epoch type
      (typedef)[edit]
      process running time
      (typedef)[edit]
      (C++17)
      time in seconds and nanoseconds
      (struct)[edit]

      [edit]See also

      C documentation forDate and time utilities
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/chrono/c&oldid=161513"

      [8]ページ先頭

      ©2009-2025 Movatter.jp