# Date range selection

**URL:** <https://forum.uipath.com/t/date-range-selection/170644>\
**Category:** Help\
**Tags:** question, uiautomation, activities\
**Created:** [November 22, 2019, 8:32am UTC](https://forum.uipath.com/t/date-range-selection/170644 "2019-11-22T08:32:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vivek\_sivam](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/vivek_sivam/32/106612_2.png) [@vivek\_sivam](https://forum.uipath.com/u/vivek_sivam)\
**Post date:** [November 22, 2019, 8:32am UTC](https://forum.uipath.com/t/date-range-selection/170644/1 "2019-11-22T08:32:43Z")

</div>

Hi,  
Can any one know how to select the date range in following type of date picker  
 ![image](https://global.discourse-cdn.com/uipath/original/3X/4/6/46a7f7f60d4aa27e21e2a7b0a8205239f600e121.png)  
I want generate reports daily. So dates are changed dynamically  
Thanks

---

<div class="post-metadata">

**Author:** ![Palaniyappan](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/palaniyappan/32/524095_2.png) [@Palaniyappan](https://forum.uipath.com/u/Palaniyappan)\
**Post date:** [November 22, 2019, 8:41am UTC](https://forum.uipath.com/t/date-range-selection/170644/2 "2019-11-22T08:41:24Z")

</div>

It looks like we have different drop down for each input like one for month another fire and one for year  
So for each drop down does it take human input via typing or only with a mouse click  
If it’s possible to go with typing then we can use type into activity for each drop down like one type into for date, one for month and one type into activity for year  
Similarly for TO date also  
For date the type into string should be **Now.date.Tostring**  
And for month  
**Now.month.ToString**  
And for year  
**Now.year.ToString**

Cheers @vivek_sivam

---

<div class="post-metadata">

**Author:** ![Sreelatha278](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@Sreelatha278](https://forum.uipath.com/u/Sreelatha278)\
**Post date:** [November 24, 2019, 8:32am UTC](https://forum.uipath.com/t/date-range-selection/170644/3 "2019-11-24T08:32:31Z")

</div>

@vivek_sivam

Use Select Item to select the value from dropdown.

Make the selector dynamic so that if the default value in existing field is changing will not effect the code.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [November 27, 2019, 8:32am UTC](https://forum.uipath.com/t/date-range-selection/170644/4 "2019-11-27T08:32:36Z")

</div>

Closed on November 27, 2019, 8:32am UTC

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