MicrOS
__time_get_day_of_year.c File Reference
#include "../time.h"

Functions

uint32_t __time_get_day_of_year (uint32_t day, uint32_t month, uint32_t year)
 Calculates time of the year. More...
 

Function Documentation

◆ __time_get_day_of_year()

uint32_t __time_get_day_of_year ( uint32_t  day,
uint32_t  month,
uint32_t  year 
)

Calculates time of the year.

Calculates time of the year based on the passed date.

Parameters
dayDay in the date to be calculated.
monthMonth in the date to be calculated.
yearYear in the date to be calculated.
Returns
Day of the year.