added $inc operator.
replaced timedelta's total_seconds with formula to make 2.6 compatible again.