fixing the millisecond time precision issue for mysql database>5.6.4 by stripping the millisecond precision from time object