From Clomosy Docs
function Date: TclDateTime;
Returns the current date.
Use Date to obtain the current local date as a TclDateTime value. The time portion of the value is 0 (midnight).
Example
var
todayDate : TclDateTime;
{
todayDate = Date;
ShowMessage('todayDate has date = '+DateToStr(todayDate));
}
Output:
todayDate has date = 08.10.2024