[Gambas-user] datediff to miliseconds

gen braga genbraga1 at gmail.com
Mon May 13 18:20:43 CEST 2019


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


More information about the User mailing list