Add julian day number conversion functions