difftime

< c‎ | chrono

C
 Linguagem Digite apoio Gerenciamento de memória dinâmica De tratamento de erros Utilidades do programa Utilitários de data e hora Biblioteca cordas Algoritmos Numéricos Entrada / saída de apoio Suporte de localização Apoio discussão (C11) Operações atômicas (C11)

Utilitários de data e hora
Funções
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Manipulação do tempo
Original:
Time manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 difftime
 time
 clock
Conversões de formato
Original:
Format conversions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 asctime
 ctime
 strftime
 wcsftime
 gmtime
 localtime
 mktime
Constantes
Original:
Constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 CLOCKS_PER_SEC
Tipos
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 tm
 time_t
 clock_t

 Definido no cabeçalho double difftime( time_t time2, time_t time1 );
Calcula diferença entre duas horas de calendário como objetos `time_t` (time2 - time1) em segundos.
Original:
Computes difference between two calendar times as `time_t` objects (time2 - time1) in seconds.
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

 time1, time2 - vezes para compararOriginal: times to compareThe 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

diferença entre duas horas em segundos
Original:
difference between two times in seconds
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar]Veja também

 C++ documentation for difftime