millisecond() 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/millisecond/
public millisecond ( mixed | self $expression )
$expression mixed | self
Exemple #1
0
 /**
  * Returns the millisecond portion of a date as an integer between 0 and 999.
  *
  * The argument can be any expression as long as it resolves to a date.
  *
  * @see http://docs.mongodb.org/manual/reference/operator/aggregation/millisecond/
  * @see Expr::millisecond
  * @param mixed|Expr $expression
  * @return self
  */
 public function millisecond($expression)
 {
     $this->expr->millisecond($expression);
     return $this;
 }