working date gen