1311 datetime comparision