To convert seconds into minutes we are going to use the SQL Server function CONVERT(). This function is a function for converting data into a new data type. It has the following syntax.
CONVERT(data_type(length), data_to_be_converted, style)
Where data_type(length) is the target data type with an optional length in braces, data_to_be_converted is the value you want to convert. Finally the style is a code represents the output format for the date/time. Valid style codes are as follows with their value in quotes:
100 or 0 "mon dd yyyy hh:miAM (or PM)"
101 "mm/dd/yy"
102 "yy.mm.dd"
103 "dd/mm/yy"
104 "dd.mm.yy"
105 "dd-mm-yy"
106 "dd mon yy"
107 "Mon dd, yy"
108 "hh:mm:ss"
109 or 9 "mon dd yyyy hh:mi:ss:mmmAM (or PM)"
110 "mm-dd-yy"
111 "yy/mm/dd"
112 "yymmdd"
113 or 13 "dd mon yyyy hh:mm:ss:mmm(24h)"
114 "hh:mi:ss:mmm(24h)"
120 or 20 "yyyy-mm-dd hh:mi:ss(24h)"
121 or 21 "yyyy-mm-dd hh:mi:ss.mmm(24h)"
126 "yyyy-mm-ddThh:mm:ss.mmm(no spaces)"
130 "dd mon yyyy hh:mi:ss:mmmAM"
131 "dd/mm/yy hh:mi:ss:mmmAM"