<?php echo substr_count("Thursday 2017-07-06 2pm to 4pm", ' ');
You have javascript disabled. You will not be able to edit any code.