Preserve the precision of DateTime, i.e., milliseconds

It is better to preserve the resolution of Dart DateTime, such that the value being read back will be the same as the original value.