Need to calculate standby for every 4 hrs.
<4 hrs is 0 block.
>=4-<=8 is 1 block
>=8-<=12 is 2 block
>=12-<=16 is 3 block
>=16-<=20 is 4 block
and so on.
I worked and for few the calculation is not perfect. Like for 16 it is calculating 3 block instead of 4
<4 hrs is 0 block.
>=4-<=8 is 1 block
>=8-<=12 is 2 block
>=12-<=16 is 3 block
>=16-<=20 is 4 block
and so on.
I worked and for few the calculation is not perfect. Like for 16 it is calculating 3 block instead of 4