Create Date from Dutch Format - Node.js Date

Node.js examples for Date:Date Format

Description

Create Date from Dutch Format

Demo Code

function fromDutchFormat(dutchDateFormat) {
  var dateParts = dutchDateFormat.split("-");

  return new Date(dateParts[2], (dateParts[1] - 1), dateParts[0]);
}

Related Tutorials