Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Creating Dates

Tim6
8 - Asteroid

Hi There, 

 

Based on a date, i would like to create a column that provides semi-monthly dates. 

I.e 

Date starts 01/01/2021

the next date would be + 15 days = 01/15/2021

the next date after that would be +16 days = 01/31/2021

 

 

would you be able to assist me. 

 

Thank you,

2 REPLIES 2
AkimasaKajitani
17 - Castor
17 - Castor

Hi @Tim6 

 

You can use DateTimeAdd expression.

 

If you would provide the date "2021-01-01", you can output the bellow result by using DateTimeAdd expressions in Formula tool.

 

AkimasaKajitani_0-1642912768067.png

 

The result is as follows.

AkimasaKajitani_2-1642912933804.png

 

 

atcodedog05
22 - Nova
22 - Nova

Hi @Tim6 

 

Here is a solution if you want next day after as last day of the month since you mentioned semi-monthly.

 

Workflow:

atcodedog05_0-1642922359085.png

 

Hope this helps : )

 

Labels