-

「Functions HI-TECH C ASCTIME」の版間の差分

提供: HI-TECH C for CP/M Fan WIKI(JP)
移動先: 案内検索
(ページの作成:「<strong>ASCTIME</strong> == 概要 == #include <time.h> char * asctime(time_t t) == 詳細== <strong>Asctime</strong>()は引数により指定された時間...」)
 
(相違点なし)

2017年12月12日 (火) 09:38時点における最新版

ASCTIME

概要

#include  <time.h>

char *    asctime(time_t t)


詳細

Asctime()は引数により指定された時間を分解して取得し、以下のフォーマットで現在の日付と時刻を26文字返します。

Sun Sep 16 01:03:52 1973\n\0

文字列の最後にはnewlineがあることに注意してください。どのフィールド調も固定です。

参照

ctime, time, gmtime, localtime