According to EC 261/2004, the airline must give you at least 14 days' notice of a cancelled flight. If your flight is cancelled later than this, you're entitled to an alternative flight with the same airline. If this isn't provided, you qualify for a full refund. However, in either case, you can claim compensation.