Log file Viewer
Help
|
Karma
| Search:
#mongodb logs for Sunday the 28th of October, 2018
(
Back to #mongodb overview
) (
Back to channel listing
) (
Animate logs
)
[
16:26:50
] <
snooops
> Hello mates, im having trouble to setup a filter properly using your php-library: https://docs.mongodb.com/php-library/
[
16:27:03
] <
snooops
> there is my gist: https://gist.github.com/snooops/2a11e1bc07184a4864d627bf0940a8e6
[
16:27:23
] <
snooops
> the javascript works fine, but the php part gives me an empty result - any ideas?
[
19:21:52
] <
Derick
> snooops: yes, as you use a string "new Date()". It doesn't get interpreted
[
19:23:15
] <
snooops
> Derick, well new Date() is meant to be in mongodb context, it isnt an object of php, as you can see in the js file
[
19:24:46
] <
snooops
> or, how should i call the new Date? Do i have use those BSON objects?