how do i Get current date in Mon-DD-YYY format in JavaScript, i am trying to enter todays date without time in a date picker field
below is my current code and it is failing
  Page.prototype.clickOnsessionDate = async function () {
  const request = await this.findByXpath(clickOnsessionDate);
  await this.write(reques, Date());
  await this.driver.sleep(5000);
};
 
    