How to write a java script choose from drop down day, month, year, hour and minute and will redirect to a certain url ?

Thanks in advance