def get_date_tuple(self, date=None):
        if date is None:
            date = timezone.now()
        return date.timetuple()[:-4]
Main entry point for REST interface.
dataset/ETHPy150Open django-oscar/django-oscar/tests/integration/order/model_tests.py/OrderTests.get_date_tuple--crossover with--dataset/ETHPy150Open sahana/eden/modules/s3db/dvr.py/DVRManageAllowance.apply_method