Calculate a User-Date in User Defined Tool

How-to's and other software related queries

Moderator: abstr

Post Reply
OLLI_S
Posts: 30
Joined: Thu Aug 08, 2019 7:23 am

Calculate a User-Date in User Defined Tool

Post by OLLI_S » Thu Aug 08, 2019 1:31 pm

Hello,

I have created a User Defined Tool that creates a new email in Outlook and fills all fields of the mail (To, CC, Subject, Body) with data stored in the ToDoList.

In the command I also have a date prompt, that asks for a date and pastes it in the subject:

Code: Select all

$(userdate, var_date1, "Date prompt")
I want to use the date in the mail text twice:
1) the date that the user has selected in the date prompt
2) the date that the user has selected in the date prompt + 1 day

Reason:
1) is the date when we expect feedback from the project
2) is the date when we send the report (one day after the feedback)

Best regards

OLLI

User avatar
abstr
Site Admin
Posts: 370
Joined: Sun Jul 28, 2019 12:22 pm

Re: Calculate a User-Date in User Defined Tool

Post by abstr » Fri Aug 09, 2019 6:10 am

Hmm, I'll look into it.

OLLI_S
Posts: 30
Joined: Thu Aug 08, 2019 7:23 am

Re: Calculate a User-Date in User Defined Tool

Post by OLLI_S » Fri Aug 09, 2019 6:13 am

Thank you!

OLLI_S
Posts: 30
Joined: Thu Aug 08, 2019 7:23 am

Re: Calculate a User-Date in User Defined Tool

Post by OLLI_S » Fri Aug 09, 2019 11:27 am

I switched to PowerShell and here I can calculate the date:

Code: Select all

[datetime]::Today.Adddays(1)
So in my eyes the issue is solved.
Should I mark it a solved?

Post Reply