Preserve the precision of DateTime, i.e., milliseconds. Thus, read-back will return the same value.
Padding zeros to milliseconds, and add test case
Merge pull request #31 from tomyeh/master

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