There are 86400 seconds per day so the spinbutton should be min=1, max=59 then divide the reference cell by 86400 and format as time.