How to get day from JSON DarkSky swift

Viewed 534

I want to make a weekly forecast in my Weather App (Sunday: , Monday: , etc...) So I am doing it with DarkSky but i've noticed something odd.

"daily": {
"summary": "Light rain throughout the week, with temperatures bottoming out at 48°F on Sunday.",
"icon": "rain",
"data": [
  {
   -> "time": 1453363200, <-

There is no value that says the day's name, only this property named 'time'. I assume it represents seconds but I am not sure how do I get the requested day. Like how do I determine a specific day from this?

3 Answers
Related