> For the complete documentation index, see [llms.txt](https://away-from-keyboard.gitbook.io/afkhandler/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://away-from-keyboard.gitbook.io/afkhandler/methods/time.md).

# time

Converts a time to ms

*public* time(**text**: string): number

* **text**: time to convert

```javascript
const ms = client.time("5d 3h")
```
