Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

What is the correct Date Format for mongodb when using date parameters?

$
0
0
Hi,
Posted in the kettle section of forum instead of reporting Reposting. :o

I'm using date parameters in PRD 5 that I used before and the format isn't working when querying mongodb.

here is my json

{ time: {$gte: {$date : "${startDate}"}, $lte: {$date: "${stopDate}"}}, host : "${HostName}", type_instance: "${Counter}" }



The non date parameters work fine. Here is the format I've always used for Mongodb date paramters. Is there something different in prd 5?

EEE MMM dd HH:mm:ss zzz yyyy

Any help would be appreciated.

Mike

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>