convert time to ms

Change-Id: I9c621876ae88d10cbeb1ccc9590c11c2f68301ea
Reviewed-on: http://review.couchbase.org/27462
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>