最佳答案
As per the MSDN Docs, DateTimeKind Enumeration Specifies whether a DateTime object represents a local time, a Coordinated Universal Time (UTC), or is not specified as either local time or UTC.
这意味着,它不会为您提供转换后的时间,但是,DateTimeKind 枚举的成员用于本地时间和协调世界时 (UTC) 之间的转换操作,但不用于比较或算术运算。
关于c# - DateTimeKind 不会更改 UTC/Local/Unspecified 之间日期的任何部分,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52111681/