Kay
Kay

Reputation: 11

How to convert decimal minutes to hours:minutes in SQL Server

I would like to know how do you convert minutes that are >=60 to hours for example 0.70 to 1:10

Thanks in advance.

Upvotes: 1

Views: 396

Answers (1)

HGMamaci
HGMamaci

Reputation: 1387

DECLARE  @hours time = '00:00'
SELECT DATEADD(minute,70,@hours)

Upvotes: 2

Related Questions