new york city , friday evening , august 23 joseph smith , william w. phelps , william clayton and john m. bernhisel arrived in new york city in the afternoon , after taking the trains from philadelphia .