dealing with years below 1000 and with partial dates