You have a litte helper extension on DateTime for formatting DateTime instance in this package named formattedTimeHm that you can use . text: the text of your message. This is a required String sentAt ...