# Create a filename to write to using date #2

**URL:** https://discourse.nodered.org/t/create-a-filename-to-write-to-using-date-2/96019
**Category:** General
**Created:** [15 March 2025 14:00 UTC](https://discourse.nodered.org/t/create-a-filename-to-write-to-using-date-2/96019 "2025-03-15T14:00:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![micha53](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/micha53/32/97662_2.png) [@micha53](https://discourse.nodered.org/u/micha53)
#### Post date: [15 March 2025 14:00 UTC](https://discourse.nodered.org/t/create-a-filename-to-write-to-using-date-2/96019/1 "2025-03-15T14:00:58Z")

</div>

Searching for this solution I found 2 topics [here](https://discourse.nodered.org/t/create-a-filename-to-write-to-using-date/77373) and [here](https://discourse.nodered.org/t/csv-date-filename-and-daily-email/7498), but both without any example, so it doesen't really help .  
Can someone help me with an example for including the date within a write filename?

---

<div class="post-metadata">

### Author: ![micha53](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/micha53/32/97662_2.png) [@micha53](https://discourse.nodered.org/u/micha53)
#### Post date: [15 March 2025 14:11 UTC](https://discourse.nodered.org/t/create-a-filename-to-write-to-using-date-2/96019/2 "2025-03-15T14:11:49Z")

</div>

found the solution [here](https://discourse.nodered.org/t/how-to-create-a-filename-using-jsonata-in-file-write-node/76407)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [29 March 2025 14:12 UTC](https://discourse.nodered.org/t/create-a-filename-to-write-to-using-date-2/96019/3 "2025-03-29T14:12:03Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
