Todays Date: echo $date; ?>
Are you applying for a day, evening, or weekend class?
Do you understand completely, the difference between running scripts on server vs running HTML/JavaScript on web-client ?
PHP is executed on server. It renders HTML and JS. Then HTML/JS goes to a viewer (web-client) and is executed on client's machine... You can't "run PHP inside JS" the way you want.
If you need some data from PHP injected to your JS code you may try running AJAX.