Page 1 of 1

Append Date to Table Name

Posted: Mon Mar 26, 2018 8:48 am
by kcaron
Is there a way to create a table so that the table name is the table name and the date?

I need to include this in a line of code in a program.

For example "mytable03262018"...

Re: Append Date to Table Name

Posted: Mon Mar 26, 2018 8:50 am
by EViews Gareth

Code: Select all

%name = "mytable" + @strnow("YYYYMMDD") table {%name}

Re: Append Date to Table Name

Posted: Mon Mar 26, 2018 9:06 am
by kcaron
Thank you!