See:
Code:
var strDate = "03.09.1979";
var dateParts = strDate.split(".");
var date = new Date(dateParts[2], (dateParts[1] - 1), dateParts[0]);
More Related Contents:
- Format JavaScript date as yyyy-mm-dd
- Where can I find documentation on formatting a date in JavaScript?
- Parse ‘Date & Time’ string in Javascript which are of custom format
- Get the percentage of a number with javascript [closed]
- Are JavaScript strings immutable? Do I need a “string builder” in JavaScript?
- Execute the setInterval function without delay the first time
- Client Checking file size using HTML5?
- Correct use of arrow functions in React
- How to pass JavaScript variables as parameters to JSF action method?
- finding “line-breaks” in textarea that is word-wrapping ARABIC text
- Destructuring and rename property
- How to filter array when object key value is in array
- Is it possible to catch exceptions thrown in a JavaScript async callback?
- Angular ReactiveForms: Producing an array of checkbox values?
- Knockout.js incredibly slow under semi-large datasets
- Can’t get currentUser on load
- How to change color of an image using jquery [closed]
- How can I handle Javascript in a Perl web crawler?
- “Status Code:200 OK (from ServiceWorker)” in Chrome Network DevTools?
- Jquery .show() not revealing a div with visibility of hidden
- Safari Javascript Date() NaN Issue (yyyy-MM-dd HH:mm:ss)
- Get image width and height from the Base64 code in JavaScript
- Scroll to element on click in Angular 4
- Javascript attach an onclick event to all links
- Snap edges of objects to each other and prevent overlap
- How to get timezone name (PDT, EST, etc.) in Javascript? [duplicate]
- many elements of a listbox to another
- switch statement to compare values greater or less than a number
- XmlHttpRequest.responseText while loading (readyState==3) in Chrome
- How to re-execute javascript function after form reRender?