hi
I facing a problem when I compare time and convert the time into number.
I need the solution of below problem please help and suggest.
a person has duty in- time is 9.00 am and out-time is 18.30 pm
if person will in-time is >11.5 and total duty hours is <=4.30 than LWP full day
if person will in-time is >11.5 and total duty hours is >=4.30 than LWP Half day
if person will in-time is >=9 and out-time is <16.30 pm than LWP half day
Thanks & Regards
B.S.Fartiyal
0
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
in and out time checking of an Employee as per shift time in and out.
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
compare the time field with "09:00:00" its not valid
also punch time - shift in time >2.3 then also invalid
regards
b.S.Fartiyal
You need to convert 4.30 hrs to milli seconds and also total duty hours
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
want check only hours and minutes
regards
B.S.Fartiyal
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav