Is there a way to get the day of year from a date in MySQL? I know the extract(day from [date]) function, but I don't see any datepart that will extract the numeric day of the year.