Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

reverse a date in javascript

function convertDigitIn(str){
   return str.split('/').reverse().join('/');
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reverse #date #javascript
ADD COMMENT
Topic
Name
3+2 =