DateTime.Constructor(source As Date)

From Xojo Documentation

Constructor

DateTime.Constructor(source As Date)

New in 2019r2

Creates a new DateTime object that has the same date information as the passed Date. Use this to convert a Date to a DateTime.