Convert between calendar and Julian Dates