> 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/php/getformattedtimestamp.md).

# getFormattedTimestamp()

**Method signature**

```php
private function getFormattedTimestamp() 
```

**Example**

```php
<?php
require 'vendor/autoload.php';
use CircularProtocol\Api\CircularProtocolAPI;

$circular = new CircularProtocolAPI();

$timestamp = $circular->getFormattedTimestamp();
echo $timestamp;
```

**Result**

The result will be an object of type String:

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