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:
TodayDate = new Date(); if (TodayDate > AnotherDate) {} else{}
< = also works, Although with =, it might have to match the milliseconds.