This function takes a date dt, as either a
datetime.date instance or a datetime.datetime instance, and returns the day
number relative to January 0 of that year. For example,
the day number of January 1 is 1, and the day number of
December 31 is either 365 or 366.
dayNo ( dt )