Good night in the morning

Anyone know the origin of this saying. Being from the south I heard this frequently from my grandmother who would use this phrase as an exclamation of surprise. Any thoughts?

It's like: "Great day in the morning!"