An exercise on timestamps and date calculations