time format

change the time format for saving into sqlite