Add millisecond precision to dates