Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

convert date dd/mm/yyyy to date object js

DateParts = data.split("/");

new Date(+DateParts[2], DateParts[1] - 1, +DateParts[0]).setUTCHours(
      0,
      0,
      0,
      0
    )
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #date #date #object #js
ADD COMMENT
Topic
Name
2+4 =