# Dynamic File Name with Datestamp

**URL:** <https://community.automationedge.com/t/dynamic-file-name-with-datestamp/11194>\
**Category:** Process Studio\
**Created:** [November 17, 2023, 4:10am UTC](https://community.automationedge.com/t/dynamic-file-name-with-datestamp/11194 "2023-11-17T04:10:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PriyaSinha](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@PriyaSinha](https://community.automationedge.com/u/PriyaSinha)\
**Post date:** [November 17, 2023, 4:10am UTC](https://community.automationedge.com/t/dynamic-file-name-with-datestamp/11194/1 "2023-11-17T04:10:51Z")

</div>

HI Community,

I’m new to here. I’ve created a simple process where I will get the data from SQL and create the excel file which is working as expected.

However, I want to create a dynamic file name in the format: DDMMYYYYHHMM\_ExportData.xlsx.

I tried many ways, but no luck. How can I create a variable with the above format name and pass it to exceloutput file name attribute

---

<div class="post-metadata">

**Author:** ![Jane](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Jane](https://community.automationedge.com/u/Jane)\
**Post date:** [November 21, 2023, 10:10am UTC](https://community.automationedge.com/t/dynamic-file-name-with-datestamp/11194/2 "2023-11-21T10:10:44Z")

</div>

Hi! Priya

I suggest in The Excel Writer step you use the date options-  
Include date in filename  
Include time in filename  
specify Date Time format

Generally the popular date format starts with Year followed by Month, Date, Hour and Seconds.

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/automationedge/original/2X/e/e1b4cc4bff795e2a938b15cebb3e2c52b1c62238.png)
