# How to include the datetime in a file name in a destination Path field

**URL:** <https://community.synatic.com/t/how-to-include-the-datetime-in-a-file-name-in-a-destination-path-field/222>\
**Category:** Flows\
**Tags:** helper-functions\
**Created:** [May 9, 2022, 11:55am UTC](https://community.synatic.com/t/how-to-include-the-datetime-in-a-file-name-in-a-destination-path-field/222 "2022-05-09T11:55:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![navessa](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.synatic.com/navessa/32/58_2.png) [@navessa](https://community.synatic.com/u/navessa)\
**Post date:** [May 9, 2022, 11:55am UTC](https://community.synatic.com/t/how-to-include-the-datetime-in-a-file-name-in-a-destination-path-field/222/1 "2022-05-09T11:55:55Z")

</div>

Illustrated in the image below is a flow where a buffer is a source and it is being mapped to new fields in the Super Mapper step. The data is then being saved in a csv format by using the CSV Writer step and then being sent to a SFTP Server.

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/synatic/original/1X/f1a359ccf1cf314e9623150f9a49ead2947ba10c.png)

In the below image, the Path field is an example of how to **include the datetime in the file name.**

![image](https://canada1.discourse-cdn.com/flex032/uploads/synatic/original/1X/9aeafdc9dc1ae1a8c96e755ff9b6df6fc009ffe3.png)

You can copy and paste the below code in your destination step or calculator step:

```auto
{@runInfo.year}{@runInfo.month}{@runInfo.day}{@runInfo.hour}{@runInfo.minute}{@runInfo.second}

```
