# Time as part of animation file filename

**URL:** https://discourse.paraview.org/t/time-as-part-of-animation-file-filename/14598
**Category:** ParaView Support
**Created:** [May 10, 2024, 5:01pm UTC](https://discourse.paraview.org/t/time-as-part-of-animation-file-filename/14598 "2024-05-10T17:01:15Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![MarkY](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/82dd89/32.png) [@MarkY](https://discourse.paraview.org/u/MarkY)
#### Post date: [May 10, 2024, 5:01pm UTC](https://discourse.paraview.org/t/time-as-part-of-animation-file-filename/14598/1 "2024-05-10T17:01:15Z")

</div>

Hello.

I am trying to get paraview to add the time step as the suffix to the animation file name instead of using the standard numerical suffix specified by: .%04d in the Suffix Format option. I tried a few things like {time:f} which did not work. Is there a way to reference the current timestep with something like .%07t ?

Kind regards,

Mark

---

<div class="post-metadata">

### Author: ![danlipsa](https://discourse.paraview.org/user_avatar/discourse.paraview.org/danlipsa/32/1563_2.png) [@danlipsa](https://discourse.paraview.org/u/danlipsa)
#### Post date: [May 13, 2024, 10:39pm UTC](https://discourse.paraview.org/t/time-as-part-of-animation-file-filename/14598/2 "2024-05-13T22:39:40Z")

</div>

Mark,  
I am not sure I understand what you are asking. The default specification uses the time step and formats it using the printf type specs: .%04d  
means it is going to save something like: test.0001.png, test.0002.png, …  
You can change the suffix used, for instance, using an \_ instead of a . and using 3 digits for time step instead of 4:  
\_%03d

---

<div class="post-metadata">

### Author: ![MarkY](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/82dd89/32.png) [@MarkY](https://discourse.paraview.org/u/MarkY)
#### Post date: [May 13, 2024, 11:28pm UTC](https://discourse.paraview.org/t/time-as-part-of-animation-file-filename/14598/3 "2024-05-13T23:28:24Z")

</div>

Hello Dan.  
I appreciate your reply. What I am intending is that instead of the time step the file be save with the time of the time step:

![Screenshot_2024-05-13_17-09-09](https://discourse.paraview.org/uploads/default/original/2X/4/468db861f468df716442502cba48827f1a068621.png)

In the case of the screen shot above it would save it as say test-651.144.png, test-651.236.png, … for example. Instead of test.00066.png, test.00067.png… In some cases a number of digits will be required if the times are only 10e-6 s apart for example…

MTY

---

<div class="post-metadata">

### Author: ![danlipsa](https://discourse.paraview.org/user_avatar/discourse.paraview.org/danlipsa/32/1563_2.png) [@danlipsa](https://discourse.paraview.org/u/danlipsa)
#### Post date: [May 14, 2024, 2:41pm UTC](https://discourse.paraview.org/t/time-as-part-of-animation-file-filename/14598/4 "2024-05-14T14:41:19Z")

</div>

Yes, this will have to be added - it does not seem to be supported at the moment.

---

<div class="post-metadata">

### Author: ![MarkY](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/82dd89/32.png) [@MarkY](https://discourse.paraview.org/u/MarkY)
#### Post date: [May 14, 2024, 3:01pm UTC](https://discourse.paraview.org/t/time-as-part-of-animation-file-filename/14598/5 "2024-05-14T15:01:48Z")

</div>

Ok… Cool… I will stop trying to use dereference key combos that mean nothing… 😅

Mark

---

<div class="post-metadata">

### Author: ![danlipsa](https://discourse.paraview.org/user_avatar/discourse.paraview.org/danlipsa/32/1563_2.png) [@danlipsa](https://discourse.paraview.org/u/danlipsa)
#### Post date: [May 14, 2024, 3:37pm UTC](https://discourse.paraview.org/t/time-as-part-of-animation-file-filename/14598/6 "2024-05-14T15:37:40Z")

</div>

@cory.quammen
