Date

public extension Date
  • Helper to return strings like “15 seconds ago”, “1 minute ago” etc, from a Date

    Declaration

    Swift

    func timeAgoDisplay() -> String