faster split2time_frame by using epoch instead of datetime comparison