[]
        
(Showing Draft Content)

GrapeCity.CalcEngine.IReadonlyPrimitiveValue.GetDate

GetDate Method

GetDate(IEvaluationContext, bool)

Gets the DateTime value.

Declaration
DateTime GetDate(IEvaluationContext context = null, bool catchError = true)
Function GetDate(Optional context As IEvaluationContext = Nothing, Optional catchError As Boolean = True) As Date
Parameters
Type Name Description
IEvaluationContext context

The evaluation context to get value.

bool catchError

true if the evaluation context will track calculation error; otherwise, false.

Returns
Type Description
DateTime

An DateTime value.