Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DatePart Method

DateAndTime.DatePart Method

Returns an Integer value containing the specified component of a given Date value.

Name Description
DateAndTime.DatePart (DateInterval, DateTime, FirstDayOfWeek, FirstWeekOfYear) Returns an Integer value containing the specified component of a given Date value.

Supported by the .NET Compact Framework.

DateAndTime.DatePart (String, Object, FirstDayOfWeek, FirstWeekOfYear) Returns an Integer value containing the specified component of a given Date value.

Supported by the .NET Compact Framework.

Community Additions

ADD
Show:
© 2015 Microsoft