Converts transaction time to integer for riak