# os(ロブロックス ライブラリ) > 時刻や日付を扱うためのライブラリです。 - URL:https://roblox.minecraft-okinawa.com/reference/libraries/os/ - 公式:https://create.roblox.com/docs/reference/engine/libraries/os ## 関数 - `os.clock(): double`:プログラムが動き始めてからの時間を返します。 - `os.date(formatString: string, time: int): Dictionary`:日付と時刻の情報を返します。 - `os.difftime(t2: int, t1: int): int`:Returns the number of seconds from one time to another. - `os.time(time: table): int`:今の時刻(秒)を返します。 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)