1.Update the date string processing methods;
2.Cancel and Save functions added.