It usually takes 3-4 days i.e 72- 96 hours to reach Andaman from Chennai by ship. In addition, if there are delays or halts in between, the entire journey might take 1 more day.
If you plan to book cruise packages from Chennai to reach Andaman, plan your itinerary for the trip accordingly!