Created
September 10, 2015 22:40
-
-
Save matheusdavidson/79bd1e722654791b38c6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var dateTest = new Date(moment().format()); | |
console.log('dateTest', dateTest); | |
Event.find({ | |
'ticketConfig.endDatetime': { | |
$gte: dateTest | |
} | |
}).exec(function(err, teste) { | |
console.log('teste', teste); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment