Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
DateTime次の形式を適切なオブジェクトに変換する方法を教えてもらえますか?
DateTime
11:50:46 AM on Wednesday, October 19, 2011
string s = "11:50:46 AM on Wednesday, October 19, 2011"; DateTime dateTime = DateTime.ParseExact(s, "hh:mm:ss tt on dddd, MMMM dd, yyyy", CultureInfo.InvariantCulture);