Astronomy: time and position functions, misc. utilities