# format_timestamp

> **Function** in `langgraph_cli`

📖 [View in docs](https://reference.langchain.com/python/langgraph-cli/deploy/format_timestamp)

Convert a timestamp (epoch ms or string) to a readable string.

## Signature

```python
format_timestamp(
    ts,
) -> str
```

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/d27d4b2d9895a4aa83170b4aaa135878f99c7fd6/libs/cli/langgraph_cli/deploy.py#L265)