$$NOW

Reference type:Cheat sheetFormat:Syntax + example + use case

Reference group: Utility expressions and variables

What it does

Current datetime value consistent throughout a pipeline.

Syntax

$$NOW

Use case

Timestamp computed output.

$$NOW: practical example
{ $set: { calculatedAt: "$$NOW" } }
💡 Explanation Current datetime value consistent throughout a pipeline. When to use it Timestamp computed output.
Key Takeaways
  • Current datetime value consistent throughout a pipeline.
  • Typical use: Timestamp computed output.