fixed errors if you give the new date functions a negative number