fixed handling of microsecs in dates