I am not sure what's going on, but I keep trying to convert seconds to time5, and it is not working. I am first reading a datetime field from an Oracle passthrough, then taking the timepart, and trying to get it to format as a time5. (For example, I WANT it to display as 23:00 in a report later on, but it is instead displaying as 82800.) However, the time keeps displaying as seconds in the final document. What am I missing in the code? Here is what I have: data time_out; set time_in; time_fld=timepart(time_fld1); run; proc datasets library=work; modify time_out; format time_fld time5.; run; I have also tried running the time5 format directly in the data step, but it still is displaying the seconds. Thank you!
... View more