def datetime_from_date(self, date):
        dt = wx.DateTime()
        dt.SetYear(date.year)
        dt.SetMonth(date.month-1)
        dt.SetDay(date.day)
        return dt
Convert a Python Date object to a wx DateTime object. Ignores time.
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/date_editor.py/MultiCalendarCtrl.datetime_from_date