Is this the proper way to add a 'class' attribute to a form date element
Yep.

Here's the references:

https://api.drupal.org/api/drupal/developer!topics!forms_api_reference.html/7#attributes

And a usage example:

https://api.drupal.org/api/drupal/modules!search!search.module/7