Sign in Join
FPDoc Onlineexperiment

TFloatToDateTimeNode.Check procedure

Member of TFloatToDateTimeNodepublicIn unit fpExprPars

Validate the float to datetime conversion

Declaration

pascal
procedure Check; override

Description

The Check method validates that the floating-point value can be safely converted to a datetime value. It checks for valid datetime ranges and ensures that the conversion will not result in invalid date/time values.

The validation helps prevent runtime errors that could occur when attempting to convert floating-point values that are outside the valid datetime range or represent invalid date combinations.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.