Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift date difference in days

let diffInDays = Calendar.current.dateComponents([.day], from: dateA, to: dateB).day
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swift #date #difference #days
ADD COMMENT
Topic
Name
2+8 =