Espaços nominais
Variantes
Acções

std::chrono::system_clock::to_time_t

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

 
 
Biblioteca de utilitários
Digite apoio (basic types, RTTI, type traits)
Gerenciamento de memória dinâmica
De tratamento de erros
Utilidades do programa
Variadic funções
Data e hora
Objetos de função
(C++11)
Os operadores relacionais
Original:
Relational operators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
Pares e tuplas
Original:
Pairs and tuples
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
Troque, avançar e avançar
Original:
Swap, forward and move
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
 
 
std::chrono::system_clock
Funções de membro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
system_clock::now
system_clock::to_time_t
system_clock::from_time_t
 
static std::time_t to_time_t( const std::chrono::time_point& t );
(desde C++11)
Converte t a um tipo std::time_t.
Original:
Converts t to a std::time_t type.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Se std::time_t tem menor precisão, é definida pela implementação se o valor é arredondado ou truncado.
Original:
If std::time_t 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.

Índice

[editar] Parâmetros

t -
ponto de tempo para converter
Original:
time point to convert
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Valor de retorno

Um valor representando std::time_t t.
Original:
A std::time_t value representing t.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Exceções

noexcept specification:  
noexcept
  (desde C++11)

[editar] Veja também

[estática]
converte std::time_t a um ponto de tempo do relógio do sistema
Original:
converts std::time_t to a system clock time point
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função public static membro) [edit]