add/edit time and date