EXAMPLE 1: You've got a test tomorrow morning.
Needless to say, you can't stay out late tonight.
EXAMPLE 2: Needless to say, you shouldn't have waited until Christmas Eve to do your shopping. The stores are going to be very crowded!
SYNONYM: it goes without saying. Example: You've got a test tomorrow, so it goes without saying that you can't stay out late tonight.