swiftui date format

Text(Date.now, format: .dateTime.day().month().year()) Text(Date.now.formatted(date: .long, time: .shortened)) Choose one of the two methods

Leave a Comment

Your email address will not be published. Required fields are marked *