title: Javascript equivalent of php mktime
body: <p>Iam using mktime() function in php to get the seconds for given year,month,date and minutes as like</p>
  
  <pre><code>$seconds = mktime($hour,$minute,$month,$day,$year);
  </code></pre>
  
  <p>but I want to use the same in javascript...can anyone suggest me the way to use its equivalent function in javascript that takes above all parameters and returns number of seconds...I have searched so many sources but no one has given me the output.</p>