Created
November 3, 2015 14:06
-
-
Save sabueso/5611dad1fb54c744de06 to your computer and use it in GitHub Desktop.
Extract number of clientes between dates in Unifi MongoDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.user.find({first_seen: { $gte:(Number(ISODate("2015-02-01T00:00:00.000Z")).valueOf()/1000), $lte:(Number(ISODate("2015-02-28T00:00:00.000Z")).valueOf()/1000) } }).count() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment