Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

format date month day year javascript

new Date().toISOString() // 2016-02-18T23:59:48.039Z <-- original

new Date().toLocaleString().split(',')[0] // 2/18/2016 <-- formatted
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #format #date #month #day #year #javascript
ADD COMMENT
Topic
Name
9+1 =