SAS Date conversion raw data

Hello,

I am reading in raw data in the format HHMM, hours and minutes. I want to convert it to a time format to compare versus SYSTIME.

Then I want to compare the current system time, less an hour to the format I am reading in with the caveat that I will be comaring data create between miidnight and 1 in the morning versus the system time less and hour which will take me back before midnight.