Filename in Data format

using Automation, how to give the name of a file in data format(ddMMyyyyHHmm).
Ex:-upload070720201247.csv

Could you please elaborate more, In which case you need this filename: Input/Output?

I’m storing my output data into excel writer but condition is here that filename should be in date format (ddMMyyyyHHmm). How to do this? I have checked predefined data format but i need in this format how to do.
Ex:-upload070720201247.xlsx

You have to create your filename in Modified Java Script Value Step as below:

var Current_Date=new Date();
Current_Date=date2str(Returning_Date,“ddMMyyyyHHmm”);

var Filename=“upload”+Current_Date;
var Filepath=“D:\AutomationEdge\”+Filename;   \\ Where “D:\AutomationEdge\” is path to save output file.

And in output Filename field, pass “Filepath” variable instead of path.

1 Like

Thanks for solving issue.

Hi,

Sorry beginner here.

How to pass the variable “Filepath” on the Filename field?

Please check the below solution