---
title: currentClock
---

`currentClock` returns the clock used to compute the current time.

## Syntax

```
currentClock()
```

## Parameters

This method takes no arguments.

## Returns

The current clock.

## Examples

```groovy order=:log
println currentClock()
```

## Related Documentation

- [Time in Deephaven](../../../conceptual/time-in-deephaven.md)
- [Javadoc](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#currentClock())
