Need to calculate the shift number based on a past event datetime tag

So I think I have a solution When you initially bring in a Datetiminput compenent, the format is "111"

So I make my target tag a 24 format instead of the Datetiminput

For some reason, I didnt think to use the Datetime component for my action, but it DOES have an action so, I move my on action script from the button to the Datetimeinput and tested.

Sure enough the onaction script in the Datetimeinput works and the shift is updated when you pic a time.

On a side note, once you change the Datetimeinput format from "111" you cant change it bock so I had to pull another one.

In the End the system works as needed and the only format change was in the target tag. I have some other issues, but I will start a new thread for those. Thanks everyone and have a good day