Xceed Toolkit for Maui v2.0 Documentation
DateTimePart Enumeration


Xceed.Maui.Toolkit Assembly > Xceed.Maui.Toolkit Namespace : DateTimePart Enumeration
The date & time components that are available when displaying a DateOnlyTimeOnly or DateTime value.
Syntax
'Declaration
 
Public Enum DateTimePart 
   Inherits System.Enum
'Usage
 
Dim instance As DateTimePart
public enum DateTimePart : System.Enum 
Members
MemberDescription
AmPmDesignatorRepresents the AM or PM component of a time value.
Day

Represents the day component of a date value.

Note that this day is not the day of the week, but the day of the month, expressed as a number from 1 to 31.

DayName

Represents the day component of a date value, expressed as a name that corresponds to a day of the week.

Hour12Represents the hours component of a time value, expressed as a number from 1 to 12.
Hour24Represents the hours component of a time value, expressed as a number from 00 to 23.
MillisecondRepresents the milliseconds component of a time value.
MinuteRepresents the minutes component of a time value.
MonthRepresents the month component of a time value, expressed as a number from 1 to 12.
MonthNameRepresents the month component of a time value, expressed as a name that corresponds to one of the twelve months in the year.
OtherRepresents the other components of a date or time value, like commas or colons.
PeriodRepresents the period (".") component of a date or time value.
SecondRepresents the seconds component of a time value.
TimeZoneRepresents the time zone component of a time value.
YearRepresents the year component of a date value.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Xceed.Maui.Toolkit.DateTimePart

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Xceed.Maui.Toolkit Namespace