def timeinfo(solar_midnight, utc_to_local):
    """
    Get table of time info for current scheduling period.

    Parameters
    ----------
    solar_midnight : '~astropy.time.core.Time'
        UTC solar midnight time.

    utc_to_local : 'astropy.units'
        hour difference to convert from UTC to local time.

    Returns
    -------
    lines : list of strings
            Output info as a list of lines.
    """
    fprint = '{0:<35s}{1}'
    local_solar_mid = solar_midnight + utc_to_local
    return ['', fprint.format('Solar midnight (UTC):', solar_midnight.iso[:16]),
            fprint.format('Solar midnight (local):', local_solar_mid.iso[:16])]