I am looking to find the delta between below timestamps (string format)
Example 1:
2022-07-01 12:19:15.700
2022-07-01 12:19:15.800
The answer should be 0.1 sec as the output.
Example 2:
2022-07-01 12:19:15.700
2022-07-01 12:19:20.700
The answer should be 5.0 sec as the output.