im sorry to ask this im sure its a very simple calculation but its really frustrating me

if i take 2 int variables the 1st is a time such as 1345 (1:45pm)
the 2nd a duration of time such as 530 (5hours 30min)
how do i add them together and get the correct time of 1915 (6:15pm)?