Date

public extension Date
  • Gets the current second timestamp 10 bits

    Declaration

    Swift

    var timestamp: TimeInterval { get }
  • Gets the current millisecond timestamp 13 bits

    Declaration

    Swift

    var msTimestamp: TimeInterval { get }
  • Gets the local time

    Declaration

    Swift

    var localDate: Date { get }
  • Gets local time to string

    Declaration

    Swift

    var localDateToString: String { get }