DateAndTime.DatePart Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
Returns an Integer value containing the specified component of a given Date value.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
Name | Description | |
---|---|---|
DatePart(DateInterval, DateTime, FirstDayOfWeek, FirstWeekOfYear) | Returns an Integer value containing the specified component of a given Date value. | |
DatePart(String, Object, FirstDayOfWeek, FirstWeekOfYear) | Returns an Integer value containing the specified component of a given Date value. |
Top