• Thanks Lynn for your response.

    The code you shared works for this example but sometimes integer time column or col B can have values like 93000 (9.30am) or 0 (12 am). The number of digits vary in the column.

    SELECT last_run_date,last_run_time from msdb.dbo.sysjobservers

    One closest example I can think of is from msdb database. Sysjobservers table has two columns that match exactly my requirement. Last_run_date column is a integer type having date number and Last_run_time is a integer type having time number. How to get datetime out of these two columns.

    Thanks,
    Naveen.
    Every thought is a cause and every condition an effect