---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---
# TransactionCacheEntry.age

The **`age`** method of the `TransactionCacheEntry` interface returns the current age in milliseconds of the cached item.

## Syntax

```js
age()
```

### Parameters

None.

### Return value

A `number` which represents the current age in milliseconds of the cached item.