51°F

Aaron Parecki

  • Articles
  • Notes
  • Photos
  • Airplane Time! Stretch time while flying

    November 17, 2013

    Today in the middle of the flight from Portland to Amsterdam, I was unsatisfied with merely knowing what time it was in Portland and in Amsterdam. Instead, I wanted to know what time it effectively was in the airplane as I was flying, taking in to account the stretching of time by flying.

    My theory is by looking at "airplane time" and ignoring the origin and destination times completely, it may be easier to adjust to a new timezone since you won't have to trick yourself into ignoring your other clocks.

    So, on the flight, I put together an iOS app to show the local "airplane time" while on a plane traveling across many timezones.

    Airplane Time

    Example

    Say you leave Portland at 1:30pm with a scheduled arrival time of 8:30am in Amsterdam. The app calculates a "local airplane time" based on the departure and arrival times and timezones. At the beginning of the flight, airplane time and Portland time are the same, but by the time you reach Amsterdam, airplane time matches the local time.

    In order to accomplish this, flight-seconds must be stretched or compressed depending on which direction you're flying. When flying east, flight-seconds are shorter than real seconds, and when flying west, flight-seconds are longer.

    Source Code

    You can download the source code for this app on Github! Feel free to send pull requests or file issues if you find anything broken!

    Fork me on GitHub

    Sun, Nov 17, 2013 11:03am +01:00 #travel #ios #timezone
    2 likes 1 reply
    • Nick Furness
    • Craig Williams
    • Aaron Parecki aaronparecki.com
      @geeknixta @williamscraigm and here's my "Airplane Time" app! https://aaronparecki.com/2013/11/17/3/airplane-time-stretch-time-while-flying
      Sat, Jun 25, 2016 7:06pm -07:00
Posted in /articles

Hi, I'm Aaron Parecki, Director of Identity Standards at Okta, and co-founder of IndieWebCamp. I maintain oauth.net, write and consult about OAuth, and participate in the OAuth Working Group at the IETF. I also help people learn about video production and livestreaming. (detailed bio)

I've been tracking my location since 2008 and I wrote 100 songs in 100 days. I've spoken at conferences around the world about owning your data, OAuth, quantified self, and explained why R is a vowel. Read more.

  • Director of Identity Standards at Okta
  • IndieWebCamp Founder
  • OAuth WG Editor
  • OpenID Board Member

  • 🎥 YouTube Tutorials and Reviews
  • 🏠 We're building a triplex!
  • ⭐️ Life Stack
  • ⚙️ Home Automation
  • All
  • Articles
  • Bookmarks
  • Notes
  • Photos
  • Replies
  • Reviews
  • Trips
  • Videos
  • Contact
© 1999-2025 by Aaron Parecki. Powered by p3k. This site supports Webmention.
Except where otherwise noted, text content on this site is licensed under a Creative Commons Attribution 3.0 License.
IndieWebCamp Microformats Webmention W3C HTML5 Creative Commons
WeChat ID
aaronpk_tv