What is the date format of e.g. 2020-06-26T21:04:18.1823633Z called?
问题 I’m using C# 4.6 to pass a datetime to a webservice that’s expecting it in a format like this: 2020-06-26T21:04:18.1823633Z , or yyyy-MM-ddTHH:mm:ss.fffffffZ . On this website I’m finding formats that are similar ( SortableDateTimePattern doesn’t have the Z and UniversalSortableDateTimePattern doesn’t have the T ), but not identical. Is this a standard datetime format in C# and if not what would be the cleanest way to generate it? 回答1: It is the standard ISO-8601 format https://en.wikipedia