Use user defined date format for start and end time (osx)