Due to missing casts the function is not returning correctly the top 8 bits (32-40) of UTC_time field.