Datetime initialization takes microseconds into account

this Pr resolves issue #18