Returns the week number in the year from the given date
Input: date
Output: week (int16)
Examples. If mylink.mydate contains date 2013-12-28, then the two following functions are equivalent, and return the value 52:
YearweekFromDate(“2013-12-28”)
YearweekFromDate(mylink.mydate)
You can watch video tutorial of this function here: