voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
18 lines (10 loc) • 496 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/database](./database.md) > [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