title: From php to Java - mktime and date
body: <p>I am trying to change a php script to java but I'm stuck in these two lines of code. Does anyone know what the equivalent code is?</p>
  
  <pre><code>$Menarche = mktime(2, 0, 0, $Month, $Dday, $Year);
  $DueDate = $Menarche + 86400*(280 + ($MCL - 28));
  </code></pre>