Imagine, you need to calculate difference between two dates quickly, but you don't want to split dates in variables and use compare date and compare time advanced commands.
Here is the solution how to do this with simple Python script.
All you need is to specify dates and formats.
Script returns difference in days and seconds, so you can convert them to hours or etc.
Here is a positive result when dates and formats are correct:
And negative, when provided date format is wrong:
Do not hesitate to contact me if you have any questions!