I\'m a complete noob in JS since I have been coding in PHP always so here comes the noobs question. I have a date picker and it works fine but the problem is that when a dat