Export (0) Print
Expand All

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.

For more detailed information, see the Visual Basic topic DatePart Function (Visual Basic).

Community Additions

ADD
Show:
© 2014 Microsoft