time saved

time is now saved in a double when save button is clicked on alert box