DateValue
Implements the DATEVALUE function that parses a text string into a date serial number, allowing conversion of date strings to numeric values.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class DateValue : StringsInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<string>StringsInFunctionDateValue...
Inherited Members
Constructors
Initializes a new instance of the DateValue function that converts date text strings to serial numbers.
public DateValue()
Fields
The name of the function.
public static readonly string FunctionName
Methods
Evaluates the DATEVALUE function by parsing the text argument as a date and returning its serial number, or #VALUE! error if the text is not a valid date.
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<string> context)
The context.
Returns:Functions result as RadExpression.
Overrides:
Properties
Metadata describing the function's parameters and description.
public override FunctionInfo FunctionInfo { get; }
The function info as FunctionInfo.
Overrides: