[Gambas-user] datediff to miliseconds

Gianluigi bagonergi at gmail.com
Mon May 13 18:55:00 CEST 2019


Il giorno lun 13 mag 2019 alle ore 18:21 gen braga <genbraga1 at gmail.com> ha
scritto:

> Hi there,
>
> in the below code:
>
>   Dim dData1 As Date = Now
>   Dim dData2 As Date = "01/01/2000"
>
>   Print DateDiff(dData2, dData1, gb.Second)
>   Print DateDiff(dData2, dData1, gb.Millisecond)
>
> is there anything wrong? I got an overflow when printing milliseconds
>
> -
> Gen
>
>
Here [0] I don't see any "milliseconds"

Regards
Gianluigi
[0] http://gambaswiki.org/wiki/lang/datediff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190513/310be9ed/attachment-0001.html>


More information about the User mailing list