JetNoLag: The Traveller’s Time

As someone with two countries I can reasonably call home, travel’s always been a part of my life. I’ve bounced from airport to airport, and I’ve been shot with jet lag. It’s the worst part of flying; for me, it takes a week at least to adjust to the conditions of the place I’m going to. Adjusting has to happen before travelling, but there’s no good solution for a progressive adjustment to the other timezone. Here’s our solution at JetNoLag.

Our logo

In short, we created a progressive timer, where we take in the time difference and the number of days to create an output that has a calendar of days and times. Here’s an overview of the code:

We imported three libraries, guizero being our UI to display something other than the terminal and datetime being our library to reference the times and dates the user would input.

The times variable is to list out all possible timezones that can be selected, while the app is the basic outline of the application. The submit function had the time difference calculated from the current timezone and the destination’s timezone.

The a variable is used to determine the date, which is taken from a user input. We then take the difference in days to get the second part of our goal; the number of days the user has to prepare.

The change variable is the kingfish here. We have both variables for time and days, and now we can calculate the time difference to stagger day by day.

The t variable is to take the inputted date and format it correctly, while we used a for loop to list out all the times from day to day.

Although this looks like a lot of code, it is just an input section. We have the user input their destination times and their current times, to get us something like this:


The submit function will eventually output a calendar of times in a grid. Check the final result out!

Check out our entire project here!


TL;DR: We created a progressive alarm that takes in the days to prepare and the timezone difference.

I’m Aniket, and I’m interested in how we can make humans fundamentally better through better disease prevention and innovation.