Hi All,
I need help please.
I have 3 textboxes.
In these text boxes i have:-
Date From "textbox1"
Date To "textbox2"
Monthly Salary "textbox3"
I need this calculator to work out how much salary is earned between the two dates.
Eg.
Date from = 07/08/2012
Date to = 07/10/2012
Monthly Salary = £100
August = £100 / 31(days in august) * 25(days from 7th to 31st) = £80.65
September = £100(Full month pay)
October = £100 / 31(days in october) * 7(days from 1st to 7th) = £22.58
Salary Earned = £80.65 + £100 + £22.58 = £203.23
So the calculator would produce the figure = £203.23.
Can anyone please help with this??
Thanks in advance.
Chris
I need help please.
I have 3 textboxes.
In these text boxes i have:-
Date From "textbox1"
Date To "textbox2"
Monthly Salary "textbox3"
I need this calculator to work out how much salary is earned between the two dates.
Eg.
Date from = 07/08/2012
Date to = 07/10/2012
Monthly Salary = £100
August = £100 / 31(days in august) * 25(days from 7th to 31st) = £80.65
September = £100(Full month pay)
October = £100 / 31(days in october) * 7(days from 1st to 7th) = £22.58
Salary Earned = £80.65 + £100 + £22.58 = £203.23
So the calculator would produce the figure = £203.23.
Can anyone please help with this??
Thanks in advance.
Chris