formatTime
Formats the given time as a String. A normal implementation of this method would return a string like "9:25 AM"/"9:25". It is used to format the time of the message in the message list.
Return
The formatted time string.
Parameters
date
The Date object to format as a String.