Thanks for all the helpful suggestions. The application I am using has a date selector I've found that I can use. But, my PHP skills are horrible and I am not sure how it integrate the call into the existing code. Does anyone have suggestions?
Here is the existing code:
$table->data[$student->id][] = '<input type="text" name="last_attend_date'.$student->id.'" size="" value="'.($att ? $att->last_attend_date : '').'">';
Here is the date selector logic used in another part of the application:
$mform->addElement('date_time_selector', 'assesstimestart', get_string('from'));
Here is the definition for the feature:
date_selector ([string $elementName = null], [mixed $elementLabel = null], [array $options = array()], [mixed $attributes = null])
Any ideas on how to combine these? Sorry, I know this is a sketchy question...