I have a form input with an id of \'date_trans\'. The format for that date input (which is validated server side) can be any of:
Try using moment.js
moment('dd/mm/yyyy').isSame(Date.now(), 'day');
You can replace 'day' string with 'year, month, minute' if you want.