/* Get the day of the week from the UEFI time. */
UINTN EfiTimeToWday(IN EFI_TIME *Time)
/* Get the day of the week from the UEFI time. */
UINTN EfiTimeToWday(IN EFI_TIME *Time)
{
  UINTN  EpochDays;
  EpochDays = EfiGetEpochDays (Time);
  return (EpochDays + 4) % 7;
}