Exemplo n.º 1
0
 def _set_system_time( self, mmddyyyy, seconds ):
     seconds = int(seconds)
     ss = seconds % 60
     mm = (seconds % 3600) / 60
     hh = (seconds / 3600)
     hhmmss = [hh, mm, ss]
     if self.debug: print 'set time: ', hh, mm, ss
     set_time( mmddyyyy, hhmmss, None )
Exemplo n.º 2
0
 def set_datetime(self, mmddyyyy, hhmmss, zone=None):
   set_time(mmddyyyy,hhmmss, zone)
Exemplo n.º 3
0
 def set_datetime(self, mmddyyyy, hhmmss, zone=None):
     set_time(mmddyyyy, hhmmss, zone)