Bubble Foundry


Calculating the time I’ve spent outside the country

by Peter.

I need to tell the Dutch government when renewing my permit if I’ve been outside of the country for more than three months. Here’s how I calculated it thanks to ScalaTime: