formatTimestamp function

String formatTimestamp(
  1. Timestamp dateTime
)

Returns a formatted string representation of the given Timestamp.

Implementation

String formatTimestamp(Timestamp dateTime) {
  return formatDatetime(dateTime.toDate());
}