# 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/55ec2f21939ce7755e6398c11b541de8926245ee/libs/cli/langgraph_cli/deploy.py#L469)