The trolley is run by PSTA; there are different lines and different operating hours. Here is the link for all the info regarding the trolley. https://www.psta.net/riding-psta/trolley-services/ We do recommend Free Beach Rides frequently. Here is the info for free beach rides: http://www.freebeachride.com/
I was a guest there. I have no knowledge of the trolley system other than I seen a sign that there is one in the area. Maybe Google it, it should offer a map and schedule on line. I hope if you go, have a good time.
I believe midnight but they have a free taxi service called free beach rides you only have to tip the driver
Thanks! Your answer is awaiting moderation.