
Problems with the "Now" function
Quote:
> I got some strange problems with the "Now" function in visual basic
> v.4.0-16bit.
> I use the function DateDiff to calc the number of days between some a date
> and "Now". The problem is that on all machines in Croatia which has my
> system installed the function "Now" returns an empty string and this
> ofcourse gives an error when used in DateDiff (type mismatch: error
> no. 13).
> We have installed the program on more than 200 machines in 8 countries and
> never seen the problem before.
> Hope someone can help me.
That's a known bug in VB4-16. A lot of date a mathematical functions will
generate a 13-Type Mismatch error if your regional settings aren't English.
Microsoft put out a fix for this problem -- VB5.
Chad00