def set_date(self, value=datetime.datetime.now()):
        self.assertWriteMode()
        delta = value - datetime.datetime(value.year, 1, 1)
        self.writer.set_header_property("created_day", delta.days + 1)
        self.writer.set_header_property("created_year", value.year)
        return
Set the header's date from a :obj:`datetime.datetime` instance.
dataset/ETHPy150Open grantbrown/laspy/laspy/header.py/HeaderManager.set_date