Table of Contents

TFormulaValue.AsDateTime Method

Returns the value of the formula if it contains a detetime. If it contains other datatype, this method will throw an exception.

Check IsDateTime to see if the formula contains a datetime.

Syntax

Unit: FlexCel.Core

function TFormulaValue.AsDateTime: TDateTime;

See also