Strictly speaking, sundogs are a daytime phenomenon, appearing while the sun is above the horizon.