Search Results for

    Show / Hide Table of Contents

    TCellValue.ToDateTime Method

    Returns the value as a DateTime, if it can be converted, or DateTime(0) if it can't.

    Syntax

    Unit: FlexCel.Core

    function TCellValue.ToDateTime(const Dates1904: Boolean): TDateTime;

    Parameters

    <-> Parameter Type Description
    const Dates1904 Boolean Specifies if the value is expressed in Excel 1904 date system.
    Normally this value is false except for files created in older Macs.
    You can get this value on an open file with XlsFile.Options1904Dates.

    See also

    • TCellValue
    In This Article
    Back to top FlexCel Studio for VCL and FireMonkey v7.24
    © 2002 - 2025 tmssoftware.com