Mold will start spreading around and under your floor 24-48 hours when it is exposed to water. If you don't take any action to stop its growth, it will be dangerous for your health then.