Get miliseconds from date object 2016r3

dim d as new Date
dim precision as string = d.SQLDateTime
'precision should be "2020-08-24 14:58:25.308" but i get "2020-08-24 14:58:25"

i’m using xojo 2016r3 (sorry) and windows 10

my question is: how do i get miliseconds precision?

dim d as new Date
dim precision as string = d.SQLDateTime + format(d.TotalSeconds, ".000")
1 Like

great! thanks julian

1 Like