cdiwindows
MIS
I have a table that is replicated from a vendor. There is a field that is for the check open time and check close time. Both of these fields are based on the number of Minutes since midnight. I need to convert this to the standard hh:mm format and cannot find the SQL command to do this. I have tried : CheckOpen=cast(opentime/60 AS varchar)+ ':' +cast(opentime % 60 AS varchar)
But the minute do not display correctly and have it in the datatype datetime.
For example open time = 963 displays as 16:3
Any help would be appreciated.
But the minute do not display correctly and have it in the datatype datetime.
For example open time = 963 displays as 16:3
Any help would be appreciated.