Set date property to empty

Hello,

Sometimes I want to set a custom date property to empty. I see I can do this from Solidworks, but when I try to do this from API, it modifies my date to 1/1/1800. I used this method:

modelDoc.set_CustomInfo2(configurationName, propName, value);

I tried with value = null and value = "", but the result is the same. How can I delete the value from my date property?

Thank you

SolidworksApi macros