(self, dt)
return from_time(
            year=dt.year,
            month=dt.month,
            day=dt.day,
            hours=dt.hour,
            minutes=dt.minute,
            seconds=dt.second,
            microseconds=0,
            timezone=0,
        )
A wrapper around wmi.from_time to get a WMI-formatted time from a
        time struct.
A wrapper around wmi.from_time to get a WMI-formatted time from a
        time struct.
A wrapper around wmi . from_time to get a WMI - formatted time from a time struct .
def _dt_to_wmi(self, dt):
        """A wrapper around wmi.from_time to get a WMI-formatted time from a
        time struct.
        """
        return from_time(
            year=dt.year,
            month=dt.month,
            day=dt.day,
            hours=dt.hour,
            minutes=dt.minute,
            seconds=dt.second,
            microseconds=0,
            timezone=0,
        )
def _dt_to_wmi ( self , dt ) : return from_time ( year = dt . year , month = dt . month , day = dt . day , hours = dt . hour , minutes = dt . minute , seconds = dt . second , microseconds = 0 , timezone = 0 , )