change timestamp from millisecond to minute