osライブラリ
ライブラリ日本語解説あり
ひとことで言うと
時刻や日付を扱うためのライブラリです。
公式の説明(英語):This library provides functions related to time and date.
関数(4)
| 名前と書き方 | 説明 |
|---|---|
clockos.clock(): double | プログラムが動き始めてからの時間を返します。Returns elapsed time in seconds since an arbitrary baseline with sub-microsecond precision. |
dateos.date(formatString: string, time: int): Dictionary | 日付と時刻の情報を返します。Formats the given string with date/time information based on the given time. |
difftimeos.difftime(t2: int, t1: int): int | Returns the number of seconds from one time to another. |
timeos.time(time: table): int | 今の時刻(秒)を返します。Returns how many seconds have passed since the Unix epoch (1 January 1970, 00:00:00) under current UTC time. |
英語の説明とメンバーの一覧は、Roblox Creator Documentation(os)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。