Dear All,
I would like to make a comparison between 2 records based on Created Time.
I would like to write a condition like
if The Created_Time of one record is greater than the Created_Time of the other record then do something.
My problem is that in CRM the Created_Time is something like "2023-07-11T11:53:08+03:00".
So if for example I have 2 dates like
"2023-07-11T10:53:08+03:00"
and
"2023-07-11T09:53:08+03:00"
how can I do a comparison between them?
I have tried method like toDate(), to Long() but none of them have worked.
Ok the toDate() works for records with different Date in the Created_Time (and I can see which of them is greatoer) but what about the same date and different time?