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

Functions

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

Function Documentation

◆ __time_get_day_of_week()

uint32_t __time_get_day_of_week ( uint32_t  day,
uint32_t  month,
uint32_t  year 
)

Calculates time of the week.

Calculates time of the week 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 week.