> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daily.co/llms.txt
> Use this file to discover all available pages before exploring further.

# VCS: useVideoTime()

> Developers can use Daily's VCS SDK to build custom video layouts and add graphics to live streamed and recorded video calls.

`useVideoTime(): Object`

Returns the current time value from the video clock.

## Return type

| Type     | Description                                                                                                                 |
| :------- | :-------------------------------------------------------------------------------------------------------------------------- |
| `Number` | The current time value from the video clock. **Note**: This value is in seconds, not milliseconds like some JS timing APIs. |

## Sample code

<Tip>
  Additional examples of usage for this custom hook can be found in the [source code for the VCS SDK](https://github.com/daily-co/daily-vcs).
</Tip>

```javascript theme={null}
import * as React from 'react';
import { Text } from '#vcs-react/components';
import { useVideoTime } from '#vcs-react/hooks';

  const time = useVideoTime();

  return <Text>Current video time: {time}</Text>;
}
```
