[hfe_template id='1680'] (HH:MM) Conversion of a field in SQL to Hours and Minutes | HALO

(HH:MM) Conversion of a field in SQL to Hours and Minutes

Converting a decimal hours field to an Hours and Minutes field

,left(CAST(CONVERT(VARCHAR,DATEADD(SECOND, {INSERT YOUR DECIMAL HOURS FIELD HERE} * 3600, 0),108) AS TIME), 5) as [Insert Field Name]

[hfe_template id='2416']