Dear CJ_London
Thanks for the information, however 20:00 and 8:00 result was (-12 h) minus that's why I don't know, I need to calculate two shift day and night, day shift 8:00 to 20:00 and night shift 20:00 to 8:00, some time some people worked 24hours, I made it in Excel because I need to make database.
Thanks,
Gayan
Thanks for the information, however 20:00 and 8:00 result was (-12 h) minus that's why I don't know, I need to calculate two shift day and night, day shift 8:00 to 20:00 and night shift 20:00 to 8:00, some time some people worked 24hours, I made it in Excel because I need to make database.
Thanks,
Gayan
You have coded
Round(DateDiff('n',[Out_T]-[In_T],1)/60
The actual structure required is
DateDiff(interval, date1, date2 [, firstdayofweek] [, firstweekofyear] )
So you have set date1=[Out_T]-[In_T]
and date2=1