Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DateTime Constructor

Initializes a new instance of the DateTime structure.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 DateTime(Int64) Initializes a new instance of the DateTime structure to a specified number of ticks.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 DateTime(Int64, DateTimeKind) Initializes a new instance of the DateTime structure to a specified number of ticks and to Coordinated Universal Time (UTC) or local time.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 DateTime(Int32, Int32, Int32) Initializes a new instance of the DateTime structure to the specified year, month, and day.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 DateTime(Int32, Int32, Int32, Calendar) Initializes a new instance of the DateTime structure to the specified year, month, and day for the specified calendar.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 DateTime(Int32, Int32, Int32, Int32, Int32, Int32) Initializes a new instance of the DateTime structure to the specified year, month, day, hour, minute, and second.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 DateTime(Int32, Int32, Int32, Int32, Int32, Int32, DateTimeKind) Initializes a new instance of the DateTime structure to the specified year, month, day, hour, minute, second, and Coordinated Universal Time (UTC) or local time.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 DateTime(Int32, Int32, Int32, Int32, Int32, Int32, Calendar) Initializes a new instance of the DateTime structure to the specified year, month, day, hour, minute, and second for the specified calendar.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 DateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32) Initializes a new instance of the DateTime structure to the specified year, month, day, hour, minute, second, and millisecond.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 DateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32, DateTimeKind) Initializes a new instance of the DateTime structure to the specified year, month, day, hour, minute, second, millisecond, and Coordinated Universal Time (UTC) or local time.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 DateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Calendar) Initializes a new instance of the DateTime structure to the specified year, month, day, hour, minute, second, and millisecond for the specified calendar.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 DateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Calendar, DateTimeKind) Initializes a new instance of the DateTime structure to the specified year, month, day, hour, minute, second, millisecond, and Coordinated Universal Time (UTC) or local time for the specified calendar.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.