problems with datetime_select

Hello, i have a little problem in using the datetime_select object

the order statement does not work (no sorting) and i don’t know how to get de attributes when the form iss validated

thanks