remove duplicates date and time attribute