DocumentDB LogoDocumentDB
HomeGitHubDiscordDocsPackagesBlogs
Back to DocumentationMQL Documentation
Commands
Aggregation
Query And Write
Operators
Accumulators
Aggregation
Arithmetic Expression
Array Expression
Array Query
Array Update
Bitwise
Bitwise Query
Bitwise Update
Comparison Query
Conditional Expression
Data Size
Date Expression
Element Query
Evaluation Query
Field Update
Geospatial
Literal Expression
Logical Query
Miscellaneous
Miscellaneous Query
Object Expression
Projection
Set Expression
Timestamp Expression
$tsIncrement
$tsSecond
Variable Expression
Window Operators
Reference/Operators/Timestamp Expression

MongoDB Query Language (MQL) Timestamp Expression Operators

Timestamp expression operators perform operations on timestamp values.

$tsIncrement

The $tsIncrement operator extracts the increment portion from a timestamp value.

$tsSecond

The $tsSecond operator extracts the seconds portion from a timestamp value.

Copyright © DocumentDB a Series of LF Projects, LLC. For web site terms of use, trademark policy and other project policies please see https://lfprojects.org.