/ Published in: JavaScript
converts date/time that sharepoint kicks out to m/d/y format.
Expand |
Embed | Plain Text
function dateCorrect(oldString) { var result = oldString.split(" ")[0]; result = result.split("-"); return result[1] + "/" + result[2] + "/" + result[0] ; }
You need to login to post a comment.
