New date manipulation functions available in library

New date manipulations functions have been made available in the library

dayofyear

Returns the day number (1-366) within a year for a given date

weekday

Returns the day in the week (0-6 Sunday=0) for a given date

weekofyear

Returns the week within a year (1-52) for a given date

Read here about how to use them.