Hi everyone,
I have an app that record work hour in two shift : Day and Night
every morning people will enter a task with an ID XXX, after 5pm, this job get transfer to Night Shift.
the night shift people will continue to do the work with date stated same as the date in the morning shift, even though it passes midnight. However, we also need to make sure for new record of job also have the date stated as morning shift date even though is already next day.
for example morning shift date = 10/5/2023
transfer to night shift , then existing record from morning shift will dated = 10/05/2023
when create new job record at 02:00 AM morning 11/05/2023, the date shift still need to be 10/05/2023
i am not sure how can i achieve this 😞
thank you everyone.