> For the complete documentation index, see [llms.txt](https://circular-protocol.gitbook.io/standard-apis/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://circular-protocol.gitbook.io/standard-apis/api-docs/javascript/getformattedtimestamp.md).

# getFormattedTimestamp()

**Method signature**

<pre class="language-javascript"><code class="lang-javascript"><strong>function getFormattedTimestamp()
</strong></code></pre>

**Example**

```javascript
var dateTime = CircularProtocolAPI.getFormattedTimestamp();
```

**Result**

The result will be an object of type String:

```
2024:10:09-21:45:00
```
