Unit 'fpexprpars' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TIntToDateTimeNode

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Internally used class for converting integer to datetime

Declaration

Source position: fpexprpars.pp line 417

type TIntToDateTimeNode = class(TIntConvertNode)

public

  function NodeType; override;

  

Get the result type for integer to datetime conversion

  procedure GetNodeValue(); override;

  

Internally used convert integer value to datetime

end;

Inheritance

TIntToDateTimeNode

  

Internally used class for converting integer to datetime

|

TIntConvertNode

  

Internally used class for integer conversion operations

|

TFPConvertNode

  

Internally used class for type conversion operations

|

TFPUnaryOperator

  

Internally used class for unary operations with single operand

|

TFPExprNode

  

Class for representing nodes in expression trees

|

TObject

Description

The TIntToDateTimeNode conversion node class handles the conversion of integer values to date/time values in expressions. It extends the base conversion functionality to provide integer-to-datetime specific conversion logic.

The class interprets integer values as datetime representations, typically using the standard Pascal datetime encoding where integers represent days since a base date. This allows integration of numeric date calculations with datetime operations.

The conversion enables mathematical operations on dates by treating them as numeric values while maintaining proper datetime semantics and formatting in the final results.

See also

TFPExprNode

  

Class for representing nodes in expression trees


Documentation generated on: Dec 15 2025