(self, args)
return self._values.new_string().from_str(time.encode('ascii'))
Get (offset) system time.
Get (offset) system time.
Get ( offset ) system time .
def time_fn_(self, args):
        """Get (offset) system time."""
        list(args)
        time = (datetime.datetime.now() + self.time_offset).strftime('%H:%M:%S')
        return self._values.new_string().from_str(time.encode('ascii'))
def time_fn_ ( self , args ) : list ( args ) time = ( datetime . datetime . now ( ) + self . time_offset ) . strftime ( '%H:%M:%S' ) return self . _values . new_string ( ) . from_str ( time . encode ( 'ascii' ) )