How to calculate elapsed time in terraform

Is there a way to calculate the elapsed time for a resource creation time until now ?
I getting some values for Oracle OCI compute nodes as :
2019-06-26 10:09:36.527 +0000 UTC in a field from a data source call and i want calculate the days:minute elapsed until now ( timestamp() ) .
Any ideas ?