Namensräume
Varianten
Aktionen

std::chrono::system_clock::from_time_t

Aus cppreference.com
< cpp‎ | chrono‎ | system clock

static std::chrono::time_point from_time_t( std::time_t t );
(seit C++11)
t umwandelt bis zu einem Zeitpunkt Typ, mit dem gröberen Genauigkeit der zwei Typen .
Original:
Converts t to a time point type, using the coarser precision of the two types.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Wenn time_point geringere Präzision hat, ist es die Umsetzung definiert, ob der Wert abgerundet oder abgeschnitten .
Original:
If time_point has lower precision, it is implementation defined whether the value is rounded or truncated.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Inhaltsverzeichnis

[Bearbeiten] Parameter

t -
std::time_t Wert zu konvertieren
Original:
std::time_t value to convert
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten] Rückgabewert

Ein Wert vom Typ std::chrono::time_point vertreten t .
Original:
A value of type std::chrono::time_point representing t.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten] Ausnahmen

noexcept specification:  
noexcept
  (seit C++11)

[Bearbeiten] Siehe auch

[statisch]
wandelt eine Systemuhr Zeitpunkt, um std::time_t
Original:
converts a system clock time point to std::time_t
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(public static Elementfunktion) [edit]