sinuser Member Licensed User Longtime User Jul 20, 2018 #1 Hi, i have to sincronize the tick of b4a to c# ditetime tick. the same data have these different ticks : 973933860000 631095378710000000 Thanks
Hi, i have to sincronize the tick of b4a to c# ditetime tick. the same data have these different ticks : 973933860000 631095378710000000 Thanks
Johan Schoeman Expert Licensed User Longtime User Jul 20, 2018 #2 sinuser said: Hi, i have to sincronize the tick of b4a to c# ditetime tick. the same data have these different ticks : 973933860000 631095378710000000 Thanks Click to expand... Try this long TICKS_AT_EPOCH = 621355968000000000L; long tick = System.currentTimeMillis()*10000 + TICKS_AT_EPOCH; For 973933860000 I get 6.3110e17 Upvote 0
sinuser said: Hi, i have to sincronize the tick of b4a to c# ditetime tick. the same data have these different ticks : 973933860000 631095378710000000 Thanks Click to expand... Try this long TICKS_AT_EPOCH = 621355968000000000L; long tick = System.currentTimeMillis()*10000 + TICKS_AT_EPOCH; For 973933860000 I get 6.3110e17