How to remove millisecond from influxDB

Here is the timestamp of influxDB is “2016-09-13T22:29:43:229530864Z”. I want suppress 229530864Z millisecond.
Can you suggest me how to remove millisecond in inlfuxDB.