yyyyMMddHHmm method
Parse from DateTime to String corresponding to an Intl DateFormat.
The output will be in the format 2022/12/21 10:24
.
DateTimeからIntlのDateFormatに対応したStringにパースします。
2022/12/21 10:24
のような形式で出力されます。
Please refer to the following page for details.
詳細は下記ページを参考にしてください。
Implementation
String yyyyMMddHHmm() {
return format("yyyy/MM/dd HH:mm");
}