The set x2data command sets data on the x2 (top) axis to timeseries (dates/times). Please see set xdata.