See:
In particular:
val String MyDateTimeString = MyDateTimeType_item.state.format("%1$td.%1$tm.%1$ty %1$tH:%1$tM"))