Converting time measurements