[This topic is pre-release documentation and
is subject to change in future releases. Blank topics are included
as placeholders.]
The TimeHelperstype exposes the following methods.
Methods
Public
Protected
|
Instance
Static
|
Declared
Inherited
|
XNA Framework Only
.NET Compact Framework
Only
|
|
Member | Description | |
---|---|---|
ParseCTime(Int64) |
Converts a CTime to a
DateTime
|
|
ParseIso8601Time(String) |
Converts the string date format to
DateTime
|
|
ParseIso8601Time(String, Boolean) |
Converts the string date format to
DateTime
|
|
ParseSmsCookieTime(String) |
Converts a cookie time format to a
DateTimeobject
|
|
ParseSmsTime(String) |
Converts a string CIM_DATETIME time to
DateTime
|
|
ToComFileTime(DateTime) |
Converts a
DateTimeas local time to a COM
FILETIME. If UTC conversion is desired, use
ToComFileTime(DateTime, Boolean)
|
|
ToComFileTime(DateTime, Boolean) | ||
ToCTime(DateTime) |
Converts a
DateTimeto a UNIX/CTime
|
|
ToCTime(Nullable < (Of < <' ( DateTime > ) > > ) ) |
Converts a
DateTimeto a UNIX/CTime
|
|
ToCTime(DateTime, Boolean) |
Converts a
DateTimeto a UNIX/CTime
|
|
ToCTime(Nullable < (Of < <' ( DateTime > ) > > ) , Boolean) |
Converts a
DateTimeto a UNIX/CTime
|
|
ToDateTime(FILETIME) |
Converts a
FILETIMErepresented as local time to a managed
DateTime. If UTC conversion is desired, use
ToDateTime(FILETIME, Boolean).
|
|
ToDateTime(FILETIME, Boolean) | ||
ToIso8601Time(DateTime) |
Converts an existing
DateTimeto ISO 8601 format
|
|
ToSmsCookieTime(DateTime) |
Converts an existing time to the SMS cookie
time format 2007-01-01 11:11:11.000
|
|
ToSmsTime(DateTime) |
Converts a
DateTimeobject to an SMS-formatted string
|
|
ToSmsTime(DateTime, SmsTimeZone) |
Converts a
DateTimeobject to an CIM formatted string
|
|
ToSmsTime(DateTime, Boolean) |
Converts a
DateTimeobject to an CIM-formatted string
|
|
ToSmsTime(DateTime, Int32) |
Converts a
DateTimeobject to an CIM-formatted string.
Override with a specific offset.
|
|
ToSmsTime(DateTime, SmsTimeZone, Boolean, Int32) |
Formats the CIM time to a string
'20070402184502.000000-420'
|
|
ToSystemTime(DateTime) |
Converts a DateTime to a
SystemTimerepresentation
|