Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Adding 1 Min to a DateTime Variable

abdullah_noor23
7 - Meteor

Hi,

I have a dataset that has a column name Effective Start Date and Effective End Date. The Data type for both this variable is Date Time. 

Whenever there is a new record in the data set, I have to update the Effective End Date. Currently I am doing this with Date Time Now.

 

At the same time I need to update Effective Start Date = Effective End Date + 1 minute. 

 

Can you tell me how can I put this(Effective Start Date = Effective End Date + 1 minute) into the formula tool for DateTime variable? Is there any other ways to do it? Please share.

1 REPLY 1
alexnajm
17 - Castor
17 - Castor

DateTimeAdd([Effective End Date],1,"minutes")

Labels