String

extension String
  • Returns a Date object for the given string.

    Declaration

    Swift

    var toDate: Date { get }