set start time and end time
ajax validate