I use the SwiftDate library but I can't transform my string to date. This code return null
let date = "Tue, 19 Sep 2017 15:43:57 GMT".date(format: .custom("EEE, dd MMM yyyy HH:mm:ss zzz"))
Would anyone know why?
I use the SwiftDate library but I can't transform my string to date. This code return null
let date = "Tue, 19 Sep 2017 15:43:57 GMT".date(format: .custom("EEE, dd MMM yyyy HH:mm:ss zzz"))
Would anyone know why?
Copyright © 2021 Jogjafile Inc.
This code works now :
Thank you for your help!