Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Number of days in the month
=date('t', {=System:Date})
Current month and year
=date('d.y', {=System:Date})
Last day of the month (glued together from previous lines) [lastDay]
=date('t', {=System:Date}) & '.' & date('d.y', {=System:Date})
=if( isWorkDay({=Variable:lastDay}), 'Да', 'Нет')
=if( isWorkDay({=Variable:lastDay}), {=Variable:lastDay}, addworkdays({=Variable:lastDay}, -1) )
Блок 1: Установка переменной lastDay
{=date('t', {=System:Date}) & '.' & date('d.y', {=System:Date}) }
Блок 2: Установка времени в задаче
{=if( isWorkDay({=Variable:lastDay}), {=Variable:lastDay}, addworkdays({=Variable:lastDay}, -1) )}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question