dayOfMonth() public méthode

The argument can be any expression as long as it resolves to a date.
See also: http://docs.mongodb.org/manual/reference/operator/aggregation/dayOfMonth/
public dayOfMonth ( mixed | self $expression )
$expression mixed | self
Exemple #1
0
 /**
  * Returns the day of the month for a date as a number between 1 and 31.
  *
  * The argument can be any expression as long as it resolves to a date.
  *
  * @see http://docs.mongodb.org/manual/reference/operator/aggregation/dayOfMonth/
  * @see Expr::dayOfMonth
  * @param mixed|Expr $expression
  * @return self
  */
 public function dayOfMonth($expression)
 {
     $this->expr->dayOfMonth($expression);
     return $this;
 }