Question
seniority calculator
Hello
I am making a seniority calculator
Briefly, I have a field for today's date and seniority date below I have 5 sets of fields with start and end, here you can enter the periods you have been a member.
It is therefore meant that all 5 periods are calculated for the total number of days. I will then subtract this result from today's date field. In order to get a date stated in the field with seniority date
Hope someone can help me a bit here. I am not strong in JavaScript but can read me that this is probably the way to go to make this succeed.
Thanks in advance from the Dane