« first day (2745 days earlier)      last day (1238 days later) » 

06:50
let dateFormatter = DateFormatter()
dateFormatter.dateFormat = "dd-MMM-yyyy HH:mm:ss"

let created = "22-OCT-2019 12:23:57"
let d = dateFormatter.date(from:created)
print(d)
what's wrong in this ?
why d is nil ?
any idea ?
@Shubhank any idea ?
let me check
let created = "22-Oct-2019 12:23:57"
check if it works with this
 
11 hours later…

« first day (2745 days earlier)      last day (1238 days later) »