Application armv7hl and function: new Date().getTime()

Sailfish SDK 3.4.9.
I use the function in the application : new Date ().GetTime ()
For applications compiled for armv7hl one result, and for applications for i486 and aarch64 other result.

For example:

property real new_: new Date(2021, 0, 1).getTime()

for armv7hl new_ = 1609448400000
i486 and aarch64 new_ = 1609452000000

They’re only one hour off. Maybe a timezone or DST issue?

1 Like

Thank you, indeed, the time was the same, but there was a different timezone with daylight saving time.