timevar is synced, timevar2 is not. You can run a timeout and check when timevar is increased (each 5 seconds). May be the local timevar2 could be synchronized to the server timevar2 in the next version (using timevar), if it's not accurate anyway. It will not always be very exact though since the client will need to synchronize using some delay to avoid big time jumps.