WebLog Posts in Category wwHoverPanel


A simple formatDate function for JavaScript
March 18, 2008 @ 5:12am

JavaScript lacks unfortunately built in string formatting functionality. Here is a .formatDate function that provides basic dateformatting for displaying digit based date strings (ie. 10/31/2008 or 2008-10-31 20:22 or 10:24pm etc.).

20 comments


West Wind  © Rick Strahl, West Wind Technologies, 2005 - 2014