I should preface by saying I have practically no background in programming, hence the struggle with what I assume will turn out to be pretty simple.
So I’m trying to find the difference between two variables in the format HHH:MM.
I am comparing a holiday time balance for an employee before and after adding an absence for testing purposes.
The problem I am having is finding the difference between the before and after balance. Due to the HHH:MM format, I can not simply .Subtract or ‘-’ the variables as they do not fit the TimeSpan or DateTime since the hours are in three digits. Furthermore, the format does not work as int32.
Thanks in advance and apologies if my question is a little messy - still getting the hang of much of the terminology.