Allego la risposta di
Minisini sul
Bugtraker alla proposta di cambiare in
Long il ritorno di
DateDiff():
Comment #1 by Benoît MINISINI:
At the moment DateDiff() can only return integers.
As a workaround, you can get the milliseconds between two dates StartDate and EndDate that way:
Dim Diff AS Float = EndDate - StartDate ' Get the difference in days and fraction of days
Dim Count As Long = CLong(Diff * 86400000) ' Convert into milliseconds
Print Count;; "milliseconds"