Hello Friends!!

I need some help here....
i build a website called E-Maintenance, now i need to make a form that user can choose date and the system will insert into database mysql after the user click submit, im searching on the internet and i found this Javascript calender, this is the address http://www.dynamicdrive.com/dynamicindex7/jasoncalendar.htm

Its cool, but i got problem, how can i insert the date to my database? hope someone can help me, i dont know anything about javascript.....

CREATE TABLE IF NOT EXISTS `maintenance` (
  `ID` tinyint(3) NOT NULL AUTO_INCREMENT,
  `Username` varchar(32) NOT NULL,
  `Date` date NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

Format the date from the datepicker to the valid data format. Use php's date() function in the controller.