When you have automated processes interacting with your system, it is very common for multiple things to happen within the same second. In order to prove that these events happened in the correct order, it would be nice to have millisecond precision time-stamps on these records. Unfortunately, datetime fields seem to only store datetimes with second precision.
Is there a way to activate millisecond precision for datetime fields, or when needed do people resort to using a work-around?
My initial impulse is to use
System.now().getTime() to get a time-stamp with millisecond precision, and store it in a number field.