change sailingtimes into integers between 0 and 2400