I\'m using the excellent YDN-DB as part of a complicated \'dashboard\' web page that allows a user to download a large amount of information and then search & filter the
Instead of storing a Date object, store the timestamp representation instead:
Date
var timestamp = new Date().getTime();
Since a timestamp is an integer, you can then effectively use a key range on it.