Date

struct Date : ReferenceConvertible, Comparable, Equatable

Extension to obtain the current date and time in milliseconds.

  • Returns a representation of the current date and time in milliseconds.

    Declaration

    Swift

    public static func currentTimeMillis() -> UInt64