# Increment Date

**URL:** <https://forum.uipath.com/t/increment-date/417169>\
**Category:** Activities\
**Tags:** datatable, studio, system, activities\
**Created:** [April 22, 2022, 7:04am UTC](https://forum.uipath.com/t/increment-date/417169 "2022-04-22T07:04:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yudhisteer\_Chintaram1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/yudhisteer_chintaram1/32/308433_2.png) [@Yudhisteer\_Chintaram1](https://forum.uipath.com/u/Yudhisteer_Chintaram1)\
**Post date:** [April 22, 2022, 7:04am UTC](https://forum.uipath.com/t/increment-date/417169/1 "2022-04-22T07:04:45Z")

</div>

Hello,

I need to increment a date. That is my date is in the format of mm/dd/year. I have a date like 6/22/2021 and I need to increment it continuously(I have a while loop with count \<= 100).

Example:  
6/22/2021  
6/23/2021  
6/24/2021  
6/25/2021  
.  
.  
.

Note: In the process, I can increment the date such that the month and year also might change.

Thanks for helping!

---

<div class="post-metadata">

**Author:** ![nikhil.girish](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/nikhil.girish/32/462341_2.png) [@nikhil.girish](https://forum.uipath.com/u/nikhil.girish)\
**Post date:** [April 22, 2022, 7:21am UTC](https://forum.uipath.com/t/increment-date/417169/2 "2022-04-22T07:21:16Z")

</div>

Hi  
@Yudhisteer_Chintaram1

[Sequence.xaml](https://forum.uipath.com/uploads/short-url/lig26AYLbOmlMU8el2euKz0BpYt.xaml) (6.2 KB)  
Try out this sequence  
if you want to change date change in top assign activity so it will work accordingly

---

<div class="post-metadata">

**Author:** ![lakshman](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lakshman/32/523490_2.png) [@lakshman](https://forum.uipath.com/u/lakshman)\
**Post date:** [April 22, 2022, 7:21am UTC](https://forum.uipath.com/t/increment-date/417169/3 "2022-04-22T07:21:36Z")

</div>

@Yudhisteer_Chintaram1

Try below expression.

```
     CDate("6/25/2021").AddDays(1).ToString("MM/dd/yyyy")

```

---

<div class="post-metadata">

**Author:** ![Yudhisteer\_Chintaram1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/yudhisteer_chintaram1/32/308433_2.png) [@Yudhisteer\_Chintaram1](https://forum.uipath.com/u/Yudhisteer_Chintaram1)\
**Post date:** [April 29, 2022, 9:37am UTC](https://forum.uipath.com/t/increment-date/417169/4 "2022-04-29T09:37:27Z")

</div>

Thanks a lot!!!

---

<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:** [May 2, 2022, 9:37am UTC](https://forum.uipath.com/t/increment-date/417169/5 "2022-05-02T09:37:27Z")

</div>

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