Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:sidebar:remoteapi:apiref:format:time:example [13/01/2016 12:25]
stan
en:sidebar:remoteapi:apiref:format:time:example [16/04/2020 08:12]
chdi [Reverse operation]
Line 23: Line 23:
 1) Mathematical AND should be applied to the ‘tz’ parameter using **0xffff** mask. 1) Mathematical AND should be applied to the ‘tz’ parameter using **0xffff** mask.
 <​code=javascript>​ <​code=javascript>​
--134155792 & 0xffff ​| 0xFFFF0000+-134155792 & 0xffff
 61936 61936
 </​code>​ </​code>​
 +<note important>​ Only if the original tz value < 0 (it is in this example), then mathematical OR should be applied to the result using the mask 0xffff0000. If tz value > 0, the following step is not needed.</​note>​
 2) Mathematical OR should be applied to the result using the mask **0xffff0000**. 2) Mathematical OR should be applied to the result using the mask **0xffff0000**.
 <​code=javascript>​ <​code=javascript>​
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2020 Gurtam