WebLog Posts in Category wwHoverPanel
A simple formatDate function for JavaScript
March 18, 2008 @ 5:12 am

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.).

Archives
Categories
ASP.NET (221) .NET (85) Personal (68) jQuery (55) JavaScript (54) AJAX (51) Visual Studio (49) CSharp (40) HTML (35) LINQ (32) IIS (30) ASP.NET (28) Vista (28) WCF (27) Windows (22) Localization (21) FoxPro (21) Web Services (16) COM (14) Microsoft AJAX (13) MVC (12) WPF (12) ADO.NET (12) XML (10) CSS (9) Web Connection (8) Security (8) Silverlight (8) Sql Server (7) West Wind Ajax Toolkit (7) IIS7 (7) HTTP (7) C++ (6) Web Api (6) Html Help Builder (5) HTML5 (5) Hardware (5) ISV (4) Live Writer (4) Bugs (4) WebLog (4) Software Development (4) Office (4) Source Control (3) Razor (3) Windsurfing (3) DataBinding (3) Help (3) Help Builder (3) IIS7 (3) Installation (2) Internet Explorer (2) Conferences (2) ADO.NET (2) Visual Studio (2) WinForms (2) Tools (2) Web Design (2) RegEx (2) RSS (2) Networking (2) Maui (2) Speaking (2) Threading (1) SmartPhone (1) Web Deployment Projects (1) Travel (1) Utilities (1) wwHoverPanel (1) Addins (1) Control Development (1) Dynamic Types (1) FireFox (1) iPhone (1) Graphics (1) JSON (1)


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