Searched refs:nMonth (Results 1 – 1 of 1) sorted by relevance
235 static uint8_t RTC_WeekDayNum(uint32_t nYear, uint8_t nMonth, uint8_t nDay);1917 static uint8_t RTC_WeekDayNum(uint32_t nYear, uint8_t nMonth, uint8_t nDay) in RTC_WeekDayNum() argument1923 if (nMonth < 3U) in RTC_WeekDayNum()1926 …weekday = (((23U * nMonth) / 9U) + nDay + 4U + year + ((year - 1U) / 4U) - ((year - 1U) / 100U) + … in RTC_WeekDayNum()1931 …weekday = (((23U * nMonth) / 9U) + nDay + 4U + year + (year / 4U) - (year / 100U) + (year / 400U) … in RTC_WeekDayNum()