This method of the Variant Class sets the Variant object to type VT_DATE and clears the previous contents.
public void putDate(double val);
Note The preferred way to create a VT_DATE Variant is to use the following expression:
new Variant(Variant.VariantDate, val)
val | The new value. |