def METHOD_NAME(target_datetime: dt.datetime, seconds_in_day: int) -> dt.datetime:
    """Convert a given seconds integer to a datetime value."""
    today = target_datetime.replace(hour=0, minute=0, second=0, microsecond=0)
    datetime = today + dt.timedelta(seconds=seconds_in_day)
    return datetime