Have container track the modified date of children

Is there are way of doing this without storing in the attribute $MyDate e.g. by chaining together. This for instance does NOT work

$Subtitle="Most Recent note: "+ $collect(children,$MyDate).max.format("l");

Probably a syntax issue.