What is the maximum time you can take a time lapse video on iOS8?

Just wondering, can you take hours of photos? I haven't tried it yet. I assume you should have it connected to power for long periods of time.
Probably a video of the maximum available storage space that you have left. Definitely plug it in 🙂

Original thread: https://forums.imore.com/threads/what-is-the-maximum-time-you-can-take-a-time-lapse-video-on-ios8.309164/