def compare_datetime(date, span):
    """
    Compare information within datetime object with a span
    Parameters
    ----------
    date: datetime
        Datetime to compare.
    span: Span
        Span to compare.
    Returns
    -------
    bool
        True if match.
    """
    return span.text in str(date)