KO · EN
How to track time spent outside with an iPhone
With an Apple Watch, Time in Daylight in the Health app is the easiest. With an iPhone alone, nothing built in records it automatically, so use a Shortcuts automation that logs when you leave and return home, or keep a log by hand.
Step by step
- Have a watch? Check Health
Series 6 or later, SE (2nd generation) and Ultra track time in daylight automatically. See Apple Watch Time in Daylight. - Create a personal automation
In Shortcuts ▸ Automation ▸ + ▸ Leave ▸ set the location to Home. Choose Run Immediately so it doesn't ask each time. - Log the time to a note
Add Current Date → Append to Note (for example a note called “Outside log”) with the word “Out”. - Do the same when you arrive
Make a second automation for Arrive ▸ Home that logs “In”. The gap between the two is your time out. - Know the limits
This measures time away from home, so the subway, the office and cafés all count as outside. It isn't time in daylight.
Comparing the options
| Method | Good | Not so good |
|---|---|---|
| Apple Watch Time in Daylight | Automatic, based on real brightness | Needs a supported watch; sleeves block it |
| Shortcuts location automation | Free, automatic | Counts indoor time away from home; you do the math |
| Manual log | You know exactly what you did | Easy to forget |
A faster way: Sunny Sunflower: Sun Battery
Sunny Sunflower measures brightness from the front camera's exposure data while the app is open, and starts counting once outdoor-level light continues. Time spent indoors is left out, so only time in real daylight adds up (no photos are taken or saved, and you can adjust the brightness threshold). With an Apple Watch it also adds Health's Time in Daylight for the hours the app wasn't open, and you can add missed time by hand. Each day is saved to a calendar with a mood emoji and a note, and you can export it as CSV.
Get it on the App Store About the app
Free to download · tracking, goals and history are free; widgets and monthly stats are Pro
FAQ
Does iPhone track daylight on its own?
No. Time in Daylight in Health comes from Apple Watch.
Can step count tell me how long I was outside?
Only roughly. It can't tell walking indoors from walking outdoors.
Doesn't using the camera drain the battery?
Sunny Sunflower only reads brightness while the app is open, so battery use is about the same as keeping the screen on. With an Apple Watch, the Health integration covers the rest.