A man who spent nearly 24 hours at sea in New Zealand alerted his rescuers by using his watch to reflect the sun.