Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Within Butler I would like to use a Month function on a Date Custom field

Xavier Lecomte February 24, 2020

Hello 

When a certain Date  Custom field value is set , I would like to get the Month Number and then make a simple arithmetic o with this Month number. Is there a syntax for that ? 

 

I have tried : 

when custom field "Probable Start Date" is set to a date, set custom field "PROB MONTH" to "{monthnumbercustomfieldvalue}"

 

Thank you 

1 answer

1 accepted

0 votes
Answer accepted
Ludo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 24, 2020

Hi

You can use this pattern to format start date

{{%startdate}~MM}

For more details see this 

https://help.trello.com/article/1159-arithmetic-in-date-variables

https://momentjs.com/docs/#/displaying/

Xavier Lecomte February 25, 2020

Greta ! That works ! Thank you Ludo!

Ludo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 25, 2020

Good news, I just replace old by new trello link.

Xavier Lecomte February 25, 2020

I have posted another question as with the result of this parsing I need to do some basic arithmetics but cannot get a simple substraction to work

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events