Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3468 Переглядів

How to subtract two dates in an Automated Action ?

Аватар
Відмінити
Автор Найкраща відповідь

Here is an automated action that calculated the number of days between twos dates. As the datetime module is available everywhere, it's possible to use it in the automated action. Here is the python expression you can copy/past that return an integer.

(record.x_studio_end_date - record.x_studio_start_date).days 

Result: 

The 'Number of days' is calculated automatically with the Automated Action




The automated action : 



Аватар
Відмінити

We have been looking for that, thank you very much

Related Posts Відповіді Переглядів Дія
1
лют. 23
2962
1
лют. 24
3079
1
жовт. 24
1572
2
жовт. 24
2830
2
жовт. 24
2923