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.
「T」を使用して日付オブジェクトを変換して日付と時刻を区切るにはどうすればよいですか
例えば、2013/07/22T09:43:21ただの代わりに2013/07/22 09:43:21
2013/07/22T09:43:21
2013/07/22 09:43:21
次のフォーマット文字列を使用する必要があります。
DateTime.Now.ToString("yyyy/MM/ddTH:mm:ss")