Bug Fix:
Changed date range value start date from d to 01 when using date(). Added clear input field command to clear daterangevalue input textbox beforing inserting the value.