Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Week

Index

Properties

Properties

$week: DateExpression | { date: DateExpression; timezone?: tzExpression }

Returns the week number for a date as a number between 0 (the partial week that precedes the first Sunday of the year) and 53 (leap year).

see

https://docs.mongodb.com/manual/reference/operator/aggregation/week/#mongodb-expression-exp.-week

Generated using TypeDoc