I Have a date in this format
16-NOV-12
From an input box with id = date.
How do I check if this date is in the past of future?