I wouldn't bother myself with any other element than the one I need I suggest going directly for the div that has the text as '6:00 PM', so XPath should be like below:
//div[@class='timeslot-time'][contains(text(),'6:00 PM')]