Difference between latest() and max() in expression engine function?

#1

I was wondering if there is a different behavior between those two functions in case the stored calc is a datetime:

latestDate: datetime stored calc “max(fieldA.fieldB.date)”

vs

latestDate: datetime stored calc “latest(fieldA.fieldB.date)”

Thanks

#2

In this use case, both should yield the same result