set date only once