Reuse DateTimeFormatter instance since it is thread safe.
move validation into command