I have bulgarian short date pattern string from calendar control how can I create date object without removing 'г.' from it.
new Date('26.6.2015 г.')
I wanted to compare the date selected from calender with today's date
if (($.datepicker.formatDate('yy/mm/dd', new Date()))
($.datepicker.formatDate('yy/mm/dd', new Date('26.6.2015 г.'))))
{ alert('success')}
this might help you .