Returns the day number in the year from the given date.
Input: date
Output: day (int16)
Examples. If mylink.mydate contains the date 2008-08-20, then the two following functions are equivalent, and return the value 233.
YeardayFromDate("2008-08-20")
YeardayFromDate(mylink.mydate)