fix datetime field save sql