DataEngine for .NET Standard | ComponentOne
C1.DataEngine Assembly / C1.DataEngine Namespace / Op Class / DtPart Method
DateTime operand.
Part to extract from DateTime values.

In This Topic
    DtPart Method
    In This Topic
    DateTime part: unary, simple (without aggregation) operation on DateTime.
    Syntax
    'Declaration
     
    Public Shared Function DtPart( _
       ByVal col As Column, _
       ByVal part As DateTimeParts _
    ) As ColumnOp
    public static ColumnOp DtPart( 
       Column col,
       DateTimeParts part
    )

    Parameters

    col
    DateTime operand.
    part
    Part to extract from DateTime values.
    See Also