How to select OThours from intime and outtime
I have a table in that table I have a column name like attdate,in time ,out time like below format
attdate in time out time
12-03-17. 08:45. 20.37
13-03-17. 08:35. 20:45
if out time greater than 18:00 calculate OThrs.which datatype I have to store OThrs.if OThrs >than 2.30 means round off to 3
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Nilesh ShahRank #42 · 34.2K reputationPosted Apr 3, 2017, 7:52 AM EDT
siva nathanRank #1,695 · 899 reputationPosted Apr 3, 2017, 7:57 AM EDT
Nilesh ShahRank #42 · 34.2K reputationPosted Apr 3, 2017, 8:10 AM EDT