Where Date is greater than today

I'm trying to build into my query to only return events greater than today's date. Obviously today is dynamic

If I hard code the date it works
{"Event_date":{"$gt":'2014-03-20'}}

but I don't know how to get it to work dynamically

this does not work
{"Event_date":{"$gt":$.datepicker("setDate", "0")}}

1 person has
this problem
+1
This topic is no longer open for comments or replies.