Using Access 2003 Database
Table
EmpID Intime Outtime
001 090020 180000
002 060000 220000
003 030040 231020
So on…,
InTime and Outime Column Data type is Text.
090000 - hhmmss
Here I want to calculate the time like 090000 to 180000 is the office time, Remaining time is over duty time.
Expected Output
EmpID Intime Outtime WorkedTime OverdutyTime
001 090020 180000 080040
002 060000 220000 090000 070000
003 030040 231020 090000 101040
So on…,
It Should Display only 9 Hour in Worked time column, remaining comes to overduty time column.
Need Query Help