Im building an app in Swift that gets data from an API then displays it in a more appealing/user readable format.
The API returns an Int that represents time in a 24hr format that looks like this:
2200
So, what im looking to do is conversion like this:
2100 -> 9:00pm
Does anyone know how to accomplish this in Swift?