Use timer:now_diff instead of custom now_us function.