# Named Query Test values datetime

**URL:** <https://forum.inductiveautomation.com/t/named-query-test-values-datetime/63504>\
**Category:** Ignition\
**Created:** [August 26, 2022, 2:54pm UTC](https://forum.inductiveautomation.com/t/named-query-test-values-datetime/63504 "2022-08-26T14:54:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alfredo\_Egmo](https://avatars.discourse-cdn.com/v4/letter/a/ccd318/32.png) [@Alfredo\_Egmo](https://forum.inductiveautomation.com/u/Alfredo_Egmo)\
**Post date:** [August 26, 2022, 2:54pm UTC](https://forum.inductiveautomation.com/t/named-query-test-values-datetime/63504/1 "2022-08-26T14:54:53Z")

</div>

I am trying to test this query under Named Queries, I need to pass the datetime as parameter , I want to type it there and also pass the “now” using a function if possibly, help welcome.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/b/0b97120085afbad79bb739e12da39698e77dc4b7.png)

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [August 26, 2022, 2:57pm UTC](https://forum.inductiveautomation.com/t/named-query-test-values-datetime/63504/2 "2022-08-26T14:57:48Z")

</div>

If you type a date in the normal format of 2022-08-26 and press enter then ignition should format for you (in the newer versions at least)

---

<div class="post-metadata">

**Author:** ![Alfredo\_Egmo](https://avatars.discourse-cdn.com/v4/letter/a/ccd318/32.png) [@Alfredo\_Egmo](https://forum.inductiveautomation.com/u/Alfredo_Egmo)\
**Post date:** [August 26, 2022, 3:00pm UTC](https://forum.inductiveautomation.com/t/named-query-test-values-datetime/63504/3 "2022-08-26T15:00:13Z")

</div>

that worked, thanks
