How to calculate the difference in seconds between below two date variables using Ansible.
date1: 06/01/2021 00:10:15.434 date2: 06/01/2021 00:10:26.667
Tried to_datetime gives does not match format '%Y-%m-%d %H:%M:%S' error. If the dates are in yyyy-mm-dd format the difference calculation works, but not getting with above date format.