How many days a coconut can float in water?

The answer to this question cannot be answered unless you tell the exact water body which you are referring to. Coconuts can practically float forever unless it is damaged or broken.