# getFormattedTimestamp()

**Method signature**

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

**Example**

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

**Result**

The result will be an object of type String:

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