TIME(3F) — NEWS-OS Programmer’s Manual
名称
time, ctime, ltime, gmtime − システム時間を返す
形式
integer function time() character∗(∗) function ctime (stime)
integer stime subroutine ltime (stime, tarray)
integer stime, tarray(9) subroutine gmtime (stime, tarray)
integer stime, tarray(9)
解説
time は、 1970年 1月 1日 00:00:00GMT からの現在までの経過時間を 秒で返します。 これは、 NEWS−OS システムクロックの値です。
ctime は、 システム時間を 24文字のASCII文字列に変換します。 書式は、 ctime(3) で説明されています。 ‘改行’や NULL は含まれません。
ltime および gmtime は、 NEWS−OS の時間を ローカル時間または" GMT" の月、 日などに分割します。 tarray 中に返される各要素の順序および意味については ctime(3) で説明されています。
関連ファイル
/usr/lib/libU77.a
関連事項
ctime(3), itime(3F), idate(3F), fdate(3F)
NEWS-OSRelease 4.1C