Realization of a time-scale with an optical clock