Dating glacier ice of the last millennium by quantum technology