You have the right to privacy in your rental unit. If your landlord would like to enter your rental unit, they must give you written notice at least 24 hours in advance of when they would like to enter your apartment. This written notice must include the date and time your landlord wishes to enter.
Your landlord's visit must be between the hours of 9:00am and 9:00pm. The only exception to this is in the case of an emergency, such as a water leak.