I am doing it in Record triggered flow and Trying to compare createddate and lastmodifieddate. when both are equal I'll update the record. Since createddate and lastmodifieddate are standard field so it takes this format (2022-10-18T12:53:52.000+0000) but while comparing I do not want to consider seconds and hence want to remove seconds using formula in Flow.
How to remove seconds from LastModifiedDate in flow in Salesforce.
isNew()
is way better approach.