Calculate decimal year