When I try to use the above demo, and set start date as "7/9/2015" and End Date as "7/31/2015" I get the invalid message "The second date must be after the first one." while it should not appear. as I tested to set the end date to "7/30/2015" and it worked (Valid condition).
I think the problem is caused by the timeZone of my computer as it's set to "Egypt Standard Time"
can you please help.