Here's one way to do it. I created a little table to use as an example.
dt = New Table( "Untitled 10", Add Rows( 2 ),
New Column( "Column 1", Numeric, Continuous, Format( "Best", 12 ),
Set Values( [1, 2] )
)
);
tbl_name = "Main Table " || substr(format(today(), "yyyymmdd"), 1, 6);
dt << set name(tbl_name);