# Cant use Datetime block to format the datetime in Evaluate of Flows?

**URL:** <https://community.postman.com/t/cant-use-datetime-block-to-format-the-datetime-in-evaluate-of-flows/46207>\
**Category:** Help Hub\
**Created:** [April 11, 2023, 1:28pm UTC](https://community.postman.com/t/cant-use-datetime-block-to-format-the-datetime-in-evaluate-of-flows/46207 "2023-04-11T13:28:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mission-participant9](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@mission-participant9](https://community.postman.com/u/mission-participant9)\
**Post date:** [April 11, 2023, 1:28pm UTC](https://community.postman.com/t/cant-use-datetime-block-to-format-the-datetime-in-evaluate-of-flows/46207/1 "2023-04-11T13:28:28Z")

</div>

![Screenshot 2023-04-11 at 15.29.11](https://us1.discourse-cdn.com/getpostman/original/3X/e/5/e5f5e7c622af3a5385ee284159ca0d349781ad52.png)  
 ![Screenshot 2023-04-11 at 15.29.22](https://us1.discourse-cdn.com/getpostman/original/3X/5/5/55e6e65750e0f861eff4140d706b1e1f2ccbb9b0.png)

Just as the title.  
1 It works when I input in the Evaluate.  
2 It doesn’t work when I run the flow. A _timestamp_ value is automatically converted to a _string_ or _number_ if required. [https://learning.postman.com/docs/postman-flows/reference/data-types/](https://learning.postman.com/docs/postman-flows/reference/data-types/)
