Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
3500 Ansichten

How to subtract two dates in an Automated Action ?

Avatar
Verwerfen
Autor Beste Antwort

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 : 



Avatar
Verwerfen

We have been looking for that, thank you very much

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Feb. 23
2986
1
Feb. 24
3115
1
Okt. 24
1612
2
Okt. 24
2847
2
Okt. 24
2954