set date only on server