Correct VarBstrFromDate for dates between DATE_MIN and 1601

Alexandre Julliard julliard at
Wed May 9 12:32:43 CDT 2007

Bill Medland <billmedland at> writes:

> The only solutions I see are:
> + Leave it as it is (and hard luck to anyone who uses dates in the range
> 1/1/100 to 1/1/1601)

That's certainly the best way, unless we find an app that depends on
these dates.

> + Add support down in kernel32/ntdll to format dates in that range

That cannot work unless you find a way to do it through the public
API. Adding private functions or flags is not acceptable.

> + Duplicate and morph sufficient date formatting up in oleaut32
> specifically for this case

If none of the above work, then yes you have to do that.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list