zhiheyang

datetimekind.unspecified理解

datetimekind.unspecified类型的DateTime表示一个相对的时间点,就是说它没有固定的初始时间标准,而只是时间点的描述

ToLocalTime:// If inputDt.Kind is DateTimeKind.Unspecified, the conversion is performed as if inputDt was universal time.

ToUniversalTime:// If inputDt.Kind is DateTimeKind.Unspecified, the conversion is performed as if inputDt was local time.

posted on 2012-12-14 07:01  zhiheyang  阅读(478)  评论(0编辑  收藏  举报

导航