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