Developer notes
Javascript. Initialization Date object by some date string
var date = new Date($("#date_field").val().replace(/(\d+).(\d+).(\d+)/, "$3/$2/$1"));
Newer Post
Older Post
Home