in reply to add date picker in cgi page
I would imagine you'd do this the same way you'd add a javascript date picker to any old HTML page. The fact that the HTML is generated by a CGI program instead of being pulled from a static file doesn't have any effect on it one way or the other.