Swift 4: Convert Unix Timestamp to a nicely formatted Date & Time
I needed to convert a Unix Timestamp, which for some inexplicit reason was being returned as a String by an API I was using and this is the super foolish function I ended up with. I am not going to shame the API Provider for returning a timestamp as a String 😉 func createDateTime(timestamp: String) […]