Handle DateTime objects while generate filter view.

DCG should handle DateTime objects as alternative to unix timestamps.
This change handle DateTime objects when generate the filter.
More PRs may follow.