ScriptCore3.TryEncodeDate

function TryEncodeDate(Year, Month, Day: Word; var Date: TDateTime): Boolean; Year: Year to be encoded Month: Month to be encoded Day: Day to be encoded Date: Result of encoding Result: TRUE if encoding has been successfull

Description
This function is equivalent to, however, it allows to check whether encoding has been successfull or not. Note that arguments are not decimal numbers.