/* Converts EFI_TIME to Epoch seconds (elapsed since 1970 JANUARY 01, 00:00:00 UTC). */
UINTN EFIAPI EfiTimeToEpoch(IN EFI_TIME *Time)
/* Converts EFI_TIME to Epoch seconds (elapsed since 1970 JANUARY 01, 00:00:00 UTC). */
UINTN EFIAPI EfiTimeToEpoch(IN EFI_TIME *Time)
{
  UINTN  EpochDays;
  UINTN  EpochSeconds;
  EpochDays = EfiGetEpochDays (Time);
  EpochSeconds = (EpochDays * SEC_PER_DAY) + ((UINTN)Time->Hour * SEC_PER_HOUR) + (Time->Minute * SEC_PER_MIN) + Time->Second;
  return EpochSeconds;
}