public long calculateNow() {
    return calculateNow(getLocalRegion().getCache());
  }
Returns the current time in milliseconds. If the current thread has set the now thread local
then that time is return. Otherwise now is calculated and returned.

@return the current time in milliseconds
geode-core/src/main/java/org/apache/geode/internal/cache/ExpiryTask.java