(self, args)
return self._values.new_string().from_str(date.encode('ascii'))
Get (offset) system date.
Get (offset) system date.
Get ( offset ) system date .
def date_fn_(self, args):
        """Get (offset) system date."""
        list(args)
        date = (datetime.datetime.now() + self.time_offset).strftime('%m-%d-%Y')
        return self._values.new_string().from_str(date.encode('ascii'))
def date_fn_ ( self , args ) : list ( args ) date = ( datetime . datetime . now ( ) + self . time_offset ) . strftime ( '%m-%d-%Y' ) return self . _values . new_string ( ) . from_str ( date . encode ( 'ascii' ) )