A variable declared as . . . . . . . . type can store both values and it can store date values 01/01/0100 up to 12/31/9999

string
boolean
variant
date

The correct answer is: D. date

A variable declared as date type can store both values and it can store date values 01/01/0100 up to 12/31/9999.

A string is a sequence of characters. It can store any text, including numbers, letters, and symbols.

A boolean is a variable that can store either true or false.

A variant is a variable that can store any type of data, including strings, numbers, and dates. However, it is not as efficient as using a specific data type for each variable.

Therefore, the correct answer is date.