Function pecsim::mmdd_to_doy¶
Defined in File time_utils.cc
Function Documentation¶
-
void pecsim::mmdd_to_doy(int year, int mm, int dd, int &doy)¶
Convert month and day to day of year.
- Parameters:
year – The year.
mm – The month (1-12).
dd – The day (1-31).
doy – Output parameter for day of the year (1-366).