Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
CREATE TABLE table_name_65 (date_of_official_foundation_of_municipality INTEGER, rank VARCHAR, province VARCHAR)
### Question:
What is the sum of Date of Official Foundation of Municipality, when Province is "Kermān", when 2006 us "167014", and when Rank is less than 46?
### Answer:
SELECT SUM(date_of_official_foundation_of_municipality) FROM table_name_65 WHERE province = "kermān" AND 2006 = 167014 AND rank < 46