# mu_datetime_dayofyear

### From Mailutils

#include <mailutils/datetime.h> int mu_datetime_dayofyear (int year, int month, int day);

The `mu_datetime_dayofyear` function computes the ordinal date (a number in the range 1 - 366), corresponding to the specified date. Both `month` and `day` start with 1.