Fix for Bug 412423 - Can not convert the value of 2013-07-01
02:15:01.999620 to Date type.

Make sure milliseconds part in time stamp will be not more than three
digits.

Signed-off-by: xinzhao-acutate <xzhao@actuate.com>