Date

extension Date
  • Returns a date formatted String that can be used for server communication

    Declaration

    Swift

    public var isoFormattedDateString: String { get }
  • Returns a date string in one of the allowed FHIR formats

    Declaration

    Swift

    public func fhirFormattedString(with format: FHIRDateFormatter.DateFormats) -> String

    Parameters

    format

    date format that should be used

    Return Value

    string representation of self in the specified format