Hello,
I have a stored procedure written that's pulling data from a linked server (firebird database).
It's pulling data on employees, and their clock-in time. Below is a sample of the data:
Site Loc Name Date TimeIn
2 TX LastN1, FirstN1 03/26/2011 1204
2 TX LastN2, firstN2 03/27/2011 825
2 TX LastN3, FirstN3 04/02/2011 946
2 TX LastN4, FirstN4 03/26/2011 940
I'm not sure how to approach the TimeIn column. Right now that clolumn is mintues from midnight. So for example, if we take the second record, their TimeIn is 825.
Divide that by 60 (825/60) and you get 13.75. Now it's SORT OF in 24 hour time. So 13.75 in 12-hour time would be 1:45, which is the format that I need this column in.
If you guys have any idea on how to do this, I would really appreciate it.
Thanks!
I have a stored procedure written that's pulling data from a linked server (firebird database).
It's pulling data on employees, and their clock-in time. Below is a sample of the data:
Site Loc Name Date TimeIn
2 TX LastN1, FirstN1 03/26/2011 1204
2 TX LastN2, firstN2 03/27/2011 825
2 TX LastN3, FirstN3 04/02/2011 946
2 TX LastN4, FirstN4 03/26/2011 940
I'm not sure how to approach the TimeIn column. Right now that clolumn is mintues from midnight. So for example, if we take the second record, their TimeIn is 825.
Divide that by 60 (825/60) and you get 13.75. Now it's SORT OF in 24 hour time. So 13.75 in 12-hour time would be 1:45, which is the format that I need this column in.
If you guys have any idea on how to do this, I would really appreciate it.
Thanks!