I am trying to code the date of the Thursday which falls two weeks after a given date. It is more complex then just adding 14 days to a given date.
This is because if the first Wednesday after a given date week is the start date, two weeks after it, counting by Thursdays, is more then 14 days where the Thursday of week in which the date was declared is skipped.
I also think that jQuery could be used to shorten the processes.
Just to be clear, I am trying to use this code in a manner where the starting date is a variable which is given. I then calculate the 2 weeks after, skipping the week which the date was declared.
In SharePoint terms i am taking one cell in a table of SharePoint and updating the date in the cell by a measure of 2 weeks where the weeks are counted using Thursdays and the first week during which the date is declared the Thursday is not counted.
I have some code to solve this but I need help integrating it in to SharePoint. Could someone help me integrate the code into SharePoint 2013? The code for the timing (http://jsfiddle.net/bncwcjnf/).
This is a issue that may not mater in the way which i would like to apply the JS. For I just want a JS file which I can apply to a page at anytime. So the name will only exist one time in each list view. Could you guide me on the code? Would I need to use SPServices?
– joe 222 Nov 21 '15 at 02:01