Dim d2 As New Xojo.Core.Date(1514039880000, Xojo.Core.TimeZone.Current)
Gives me 49948-01-06 12:20:00
Online utility gives me correct info
Milliseconds
1514039880000
Sat 23 December 2017
09:38:00
What am I doing wrong?
TIA
Dim d2 As New Xojo.Core.Date(1514039880000, Xojo.Core.TimeZone.Current)
Gives me 49948-01-06 12:20:00
Online utility gives me correct info
Milliseconds
1514039880000
Sat 23 December 2017
09:38:00
What am I doing wrong?
TIA
You are feeding the function milliseconds.
It expects seconds
1514039880 will give the result in Xojo that you expect.
[quote=367980:@Robert Livingston]You are feeding the function milliseconds.
It expects seconds[/quote]
Neat thing, that documentation