When paste data from Excel, Origin will do a smart checking to detect heading rows and paste to column label.
Also, when paste or import to column label, if there are at least three cells with common Date/Time format, then the label will be set as Date/Time format.