Datetime initialization takes milliseconds into account