Hi guys and girls,
I have been searching this forum for a couple of days already and i cant find a solution for my "simple" problem.I have a form where my employees have to enter a week number which should be calculated based on the current day.
The company that i work for started counting weeks on Feb 28th 1982, therefore the week that we are currently on is the 1561.
I created a formula on excel where it does the math and all i have to do is enter todays date and the week number is automatically calculate. The formula on excel is =ROUNDDOWN((G1-(DATE(1982,2,28)))/7,0) where G is the column where we enter the dates.
I have been for days trying to make this work on infopath but im yet to get it done. Please any help is welcome.
Thank you a lot,
BR
PS i forgot to name the fields on my infopath form where i enter the dates. Todays date should be entered in a field called Set Date and the field where i want the week to be shown is called Week Date.