Fixed julian date finally.