No documentation summary in engineering ticket
A couple string expressions (notably in $substr(Bytes) and $concat) support dates as inputs, but do not include the number of milliseconds:
We should either fix these places to include the number of milliseconds, or remove support for using these expressions with date types.
One possible way forward is to add a $toString expression (related to
SERVER-11400), then remove support and require an explicit conversion instead.