title: how to input date as function parameters for solidity in javascript
body: <p>if i have a function like so:</p>
  <pre><code>function setDeadline(uint256 deadline) public returns(uint256){
    return deadline;
  }
  </code></pre>
  <p>how do I call it from the migration file?</p>
  <pre><code>contractName.setDeadline(
    //deadline uint256
  );
  </code></pre>
  <p>my question is how to input a date in javascript. It will be of the type today+7days.</p>