code: def set_change(name, date):
      '''
      Sets the date on which the password expires. The user will be required to
      change their password. Format is mm/dd/yyyy
  
      :param str name: The name of the user account
  
      :param date date: The date the password will expire. Must be in mm/dd/yyyy
          format.
  
      :return: True if successful, otherwise False
      :rtype: bool
  
      :raises: CommandExecutionError on user not found or any other unknown error
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' shadow.set_change username 09/21/2016
      '''
      _set_account_policy(
          name, 'usingExpirationDate=1 expirationDateGMT={0}'.format(date))
  
      return get_change(name) == datf set_change(name, date):
      '''
      Sets the date on which the password expires. The user will be required to
      change their password. Format is mm/dd/yyyy
  
      :param str name: The name of the user account
  
      :param date date: The date the password will expire. Must be in mm/dd/yyyy
          format.
  
      :return: True if successful, otherwise False
      :rtype: bool
  
      :raises: CommandExecutionError on user not found or any other unknown error
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' shadow.set_change username 09/21/2016
      '''
      _set_account_policy(
          name, 'usingExpirationDate=1 expirationDateGMT={0}'.format(date))
  
      return get_change(name) == date
docs: Sets the date on which the password expires. The user will be required to
      change their password. Format is mm/dd/yyyy
  
      :param str name: The name of the user account
  
      :param date date: The date the password will expire. Must be in mm/dd/yyyy
          format.
  
      :return: True if successful, otherwise False
      :rtype: bool
  
      :raises: CommandExecutionError on user not found or any other unknown error
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' shadow.set_change username 09/21/2016