Android Question Tick problem

sinuser

Member
Licensed User
Longtime User
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
Hi,
i have to sincronize the tick of b4a to c# ditetime tick.

the same data have these different ticks :
973933860000 631095378710000000

Thanks
Try this

long TICKS_AT_EPOCH = 621355968000000000L;
long tick = System.currentTimeMillis()*10000 + TICKS_AT_EPOCH;

For 973933860000 I get 6.3110e17
 
Upvote 0
Top