A good idea from Alfred workflow of the same name.
First, input any time fomat string.
Second, Keydown the "command + enter" to submit.
Finally, choose the string which you want.
Welcome to tell me more formats you like.
Convert timestamps and datetime strings into various formats.