This JavaScript date library is an extension of the internal Date object, which enables various formatting of date/time values.
The JavaScript Source: Time & Date : Date Format
Simply click inside the window below, use your cursor to highlight the script, and copy [Control]+C the script into a new file in your text editor (such as Note Pad) and save [Control+S]. The script is yours!!!