Changed DateTime from microsecond to millisecond resolution