Band In A Box

To answer part 1 of your question, you current JavaScript probably contains some script similar to this to get the system date: var today = new Date();
and something like this to isolate the year: var yyyy = today.getFullYear();
To convert the year to 2 digits, change the value returned for the year above into a string and then create a substring of that using the last 2 digits like this: var yyyy = today.getFullYear().toString().substr(-2);

For part 2, I need more info. How are they choosing the date? Do they type in the full date in an entry field or fields? Do they click a date on a calendar? Do they choose a date from a list of available dates?