이 항목은 아직 평가되지 않았습니다.- 이 항목 평가

Formatting DateTime Property Values

DateTime property values must be represented as combined Coordinated Universal Time (UTC) values. The Timestamp property, which is an opaque property maintained by the Table service, is also represented in this format. UTC formats are described by ISO 8601.

An example of the combined UTC format is as follows. The date is specified first, followed by the literal string "T", which designates the beginning of the time element. The literal string "Z" at the end of the string designates that the time is expressed in UTC:

2009-03-18T04:25:03Z

The following code example shows one way to construct the combined UTC format from the current UTC date:

string roundtripDateTime = XmlConvert.ToString(DateTime.UtcNow, XmlDateTimeSerializationMode.RoundtripKind);

참고 항목

이 정보가 도움이 되었습니까?
(1500자 남음)

커뮤니티 추가 항목

© 2013 Microsoft. All rights reserved.
facebook page visit twitter rss feed newsletter