voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
20 lines (11 loc) • 546 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/firestore](./firestore.md) > [/](./firestore_.md) > [Timestamp](./firestore_.timestamp.md) > [now](./firestore_.timestamp.now.md)
## Timestamp.now() method
Creates a new timestamp with the current date, with millisecond precision.
<b>Signature:</b>
```typescript
static now(): Timestamp;
```
<b>Returns:</b>
[Timestamp](./firestore_.timestamp.md)
a new timestamp representing the current date.