# Collecting Datetime Input without Time Component

**URL:** <https://community.tulip.co/t/collecting-datetime-input-without-time-component/2107>\
**Category:** General\
**Tags:** apps\
**Created:** [March 12, 2021, 2:52pm UTC](https://community.tulip.co/t/collecting-datetime-input-without-time-component/2107 "2021-03-12T14:52:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gio](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/gio/32/82_2.png) [@gio](https://community.tulip.co/u/gio)\
**Post date:** [March 12, 2021, 2:52pm UTC](https://community.tulip.co/t/collecting-datetime-input-without-time-component/2107/1 "2021-03-12T14:52:55Z")

</div>

while the Datetime input widget works well for getting date inputs from users, there are other ways to get a Datetime from users in the app depending on how you’d like to design the interface.

here’s a quick demo for one way of building another interface that does not prompt users for the time of day:

- add inputs for the 3 elements (year, month, day). in this example I’ve created Single Select inputs for the month and day input and the Year will default to 2021, but it’s up to you to design it any way you’d like:  
 ![Screen Shot 1](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/5/50965277ce2724b4d7ec5efe64b2a72fd15f55ee.jpeg)
- add the calculation to a Trigger (Expression: `parse_datetime_tz(@Variable.Date [Text] , 'YYYYMMDD', 'CET')`):  
 ![Screen Shot 2](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/b/ba7d2a6af98b55bd367c146b602ff61631b8572a.jpeg)
- here are the varaiebls for the app (note that Date [Datetime] variable is indeed in the Datetime format as the PARSE\_DATETIME\_TZ() function will convert a text input to a Datetime variable):  
 ![Screen Shot 4](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/3/39099f672e6fd402a72c29d1852e2feef5f262f0.jpeg)
- result:  
 ![Screen Shot 3](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/1/11a81f5ff9ba56a6c5be84ed13d3aaa399760ddd.jpeg)

let us know if you have any questions!!

---

<div class="post-metadata">

**Author:** ![gio](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/gio/32/82_2.png) [@gio](https://community.tulip.co/u/gio)\
**Post date:** [March 15, 2021, 4:35pm UTC](https://community.tulip.co/t/collecting-datetime-input-without-time-component/2107/2 "2021-03-15T16:35:33Z")

</div>


