def LocalTime():
 t = time.gmtime()
 year = str(t.tm_year)[(-1)]
 month = str(t.tm_mon)
 if (len(month) == 1):
  month = ('0' + month)
 return (year + month)

def LocalTime ( ) : t = time . gmtime ( ) year = str ( t . tm_year ) [ ( - 1 ) ] month = str ( t . tm_mon ) if ( len ( month ) == 1 ) : month = ( '0' + month ) return ( year + month )
localtime() -> string .