Converts from DateTime to a String of the form 20221223.
20221223
Available for path parameters, etc.
DateTimeから20221223のような形式のStringに変換します。
パスパラメーターなどに利用可能です。
String toDateID() { return format("yyyyMMdd"); }