Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

change from Date to String swift 5

let formatter = DateFormatter()
formatter.dateFormat = "HH:mm E, d MMM y"
print(formatter.string(from: today))
Source by www.hackingwithswift.com #
 
PREVIOUS NEXT
Tagged: #change #Date #String #swift
ADD COMMENT
Topic
Name
3+4 =