DataEngine for .NET Standard | ComponentOne
C1.DataEngine Assembly / C1.DataEngine Namespace / ColumnDerived Class / Ytd Method
A DateTime value.

In This Topic
    Ytd Method (ColumnDerived)
    In This Topic
    Comparison operation YearToDate for a DateTime column.
    Syntax
    'Declaration
     
    Public Function Ytd( _
       Optional ByVal val As Object _
    ) As ColumnCondition
    public ColumnCondition Ytd( 
       object val
    )

    Parameters

    val
    A DateTime value.

    Return Value

    True if a column value is within the same year as the specified date.
    See Also