OpenSiv3D  v0.6.5
C++20 framework for creative coding
DateTime.hpp File Reference
#include "Common.hpp"
#include "Date.hpp"
#include "detail/DateTime.ipp"

Classes

struct  s3d::DateTime
 日付と時刻 | Date and time More...
 
struct  std::hash< s3d::DateTime >
 

Namespaces

 s3d
 

Functions

String s3d::FormatDateTime (const DateTime &dateTime, StringView format=U"yyyy-MM-dd HH:mm:ss"_sv)
 日付と時刻を文字列に変換します。 yyyy 4 桁の年 (0001-) yy 2 桁の年 (00-99) y 年 (1-) MMMM 英語の月 (January-December) MMM 英語の月の略称 (Jan-Dec) MM 2 桁の月 (01-12) M 1-2 桁の月 (1-12) dd 2 桁の日 (01-31) d 1-2 桁の日 (1-31) EEEE 英語の曜日 (Sunday-Saturday) EEE 英語の曜日の略称 (Sun-Sat) a 午前/午後 (AM/PM) HH 24 時間表記の 2 桁の時 (00-23) H 24 時間表記の時 (0-23) hh 12 時間表記の 2 桁の時 (00-11) h 12 時間表記の時 (0-11) mm 2 桁の分 (00-59) ss 2 桁の秒 (00-59) S 小数点以下 1 桁の秒 (0-9) SS 小数点以下 2 桁の秒 (00-99) SSS 小数点以下 3 桁の秒 (000-999) More...