名前空間
変種
操作

time

提供: cppreference.com
< c‎ | chrono

 
 
日付と時間のユーティリティ
機能します
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
時間操作
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
フォーマット変換
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
定数
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
タイプ
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
 
Defined in header <time.h>
time_t time( time_t *time );
time_tオブジェクトとしてエンコードされ、現在のカレンダー時刻を返します。.
Original:
Returns the current calendar time encoded as a time_t object.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

目次

[編集] パラメータ

time -
またはtime_tで時間を格納するNULLオブジェクトへのポインタ
Original:
pointer to a time_t object to store the time in or NULL
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 値を返します

現在のカレンダー時間は、エラーの場合time_t、成功した場合に(time_t)(-1)オブジェクトとしてエンコードされます。引数がNULLでない場合、戻り値は、引数が指すオブジェクトに格納された値と等しくなります.
Original:
Current calendar time encoded as time_t object on success, (time_t)(-1) on error. If the argument is not NULL, the return value is equal to the value stored in the object pointed to by the argument.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] ノート

time_tでカレンダ時刻のエンコーディングが指定されていませんが、ほとんどのシステムはPOSIX specificationに準拠しており、エポックからの経過秒数を保持する整数型の値を返す。 time_tは、32ビットの符号付き整数(多くの歴史的なインプリメンテーション)である実装は、2038年に失敗.
Original:
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 seconds since the Epoch. Implementations in which time_t is a 32-bit signed integer (many historical implementations) fail in the year 2038.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集]

[編集] も参照してください

現地時刻で表したカレンダー時刻をエポックからの経過時間に変換します
Original:
converts time since epoch to calendar time expressed as local time
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(機能) [edit]
世界標準時として表現カレンダー時刻にエポックからの経過時間に変換します
Original:
converts time since epoch to calendar time expressed as Universal Coordinated Time
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(機能) [edit]