def Windows_set_datetime(dt):
    """ Uses DateTime instance to set OS date and time for Windows computer. """
    print "date %d/%d/%d" % (dt.month(), dt.date(), dt.year())
    print "time %d:%d:%d" % (dt.hour(), dt.minutes(), dt.seconds())
    os.system("date %d/%d/%d" % (dt.month(), dt.date(), dt.year()))
    os.system("time %d:%d:%d" % (dt.hour(), dt.minutes(), dt.seconds()))
 Uses DateTime instance to set OS date and time for Windows computer. 
recipes/Python/576546_DateTimeSyncer_Daylight_Savings_Time/recipe-576546.py