#NEWLINE# def time_a_while_ago( days = 0 , seconds = 0 , microseconds = 0 , milliseconds = 0 , minutes = 0 , hours = 0 , weeks = 0 ) : #NEWLINE# #INDENT# '\n    format of timedelta::\n        timedelta([days[, seconds[, microseconds[, milliseconds[,\n        minutes[, hours[, weeks]]]]]]])\n    :param days:\n    :param seconds:\n    :param microseconds:\n    :param milliseconds:\n    :param minutes:\n    :param hours:\n    :param weeks:\n    :param time_format:\n    :return: datetime instance\n    ' #NEWLINE# delta = timedelta ( days , seconds , microseconds , milliseconds , minutes , hours , weeks ) #NEWLINE# return ( datetime . utcnow ( ) - delta )