In the past:
Console.WriteLine("{0}Hello, {1}, on {2:d} at {2:t}", Environment.NewLine, name, currentDate)
In modern Basic you can use the “Interpolated Strings”:
{currentDate:d}
means that the date will be displayed using the short numeric form without the time. The “d” and “t” are special strings that control the format of the output: