def inc_ts(timestamp, milliseconds=1):
 dt = ts_to_dt(timestamp)
 dt += datetime.timedelta(milliseconds=milliseconds)
 return dt_to_ts(dt)

def inc_ts ( timestamp , milliseconds = 1 ) : dt = ts_to_dt ( timestamp ) dt += datetime . timedelta ( milliseconds = milliseconds ) return dt_to_ts ( dt )
increment a timestamp by milliseconds .