About 8 hours. There are three trains a day between them.
120 min
To travel to Niagara Falls via Amtrak, you can take the train to Buffalo, New York, and then transfer to a bus or taxi to reach the falls. Amtrak offers routes to Buffalo from various cities, providing a convenient option for reaching this popular destination.
VIA Rail Canada, in cooperation with Amtrak, operates the daily Maple Leaf from Toronto. The first Amtrak, and therefore US, train station is in Niagara Falls, NY, The train continues east and south to Buffalo, Rochester, Syracuse, Albany and New York.
take amtrack http://www.amtrak.com/servlet/ContentServer?pagename=Amtrak/HomePage
You can take Amtrak from NY to Baltimore Penn or Washington DC and there are Greyhound buses from each of these to Ocean City MD
To travel to Niagara Falls via Amtrak train, you can take the Empire Service line to Buffalo, NY, and then transfer to a bus or taxi to reach the falls. Amtrak offers a scenic route with comfortable amenities for your journey.
Amtrak has very frequent service between Boston and New York Penn Station on it Northeastern Regional.
2.5 days
If you go on the Acela Express (Amtrak), it takes three hours and forty-five minutes, and sometimes slightly less.
l;kk
Yes you can take a long distance bus or you can take an Amtrak train.
The Philadelphia 30th Street Station that is utilized by Amtrak is on the western edge of downtown. Unless you have business in that part of downtown Philadelphia, you may wish to take a taxi into the heart of the center city.