<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/database](./database.md) &gt; [serverTimestamp](./database.servertimestamp.md)

## serverTimestamp() function

Returns a placeholder value for auto-populating the current timestamp (time since the Unix epoch, in milliseconds) as determined by the Firebase servers.

<b>Signature:</b>

```typescript
export declare function serverTimestamp(): object;
```
<b>Returns:</b>

object

