final fix for start > end for date and time