Reputation: 11
I need to insert the date at the end of the following line
lstReport.Items.Add('***** END OF REPORT *****');
Upvotes: 1
Views: 1261
Reputation: 125748
FormatDateTime
would be appropriate:
lstReport.Items.Add('***** END OF REPORT ' +
FormatDateTime('yyyy/mm/dd', Date) + ' *****') ;
Upvotes: 6