Is there a built-in or available function/library to calculate the day of the week using the 4.0 RTC?