this js is will help you make select tag with day time and it uses ajax jquery to load