The DP_DateExtensions library extends the JavaScript Date object with new features and functionality.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
.gitignore
DP_DateExtensions.js
README.md

README.md

DP_DateExtensions

The DP_DateExtensions library extends the JavaScript Date object with new features and functionality.

  • The addition of feature-rich timeFormat() and dateFormat() methods allowing you detailed control over the display of your date and time values.
  • Easy manipulation of date math via the add(), diff(), round(), floor() and ceil() methods with an extended selection of standardized date parts.
  • Simplified comparision of dates using the compare() method.
  • Many convience functions for dealing with Daylight Savings Time and various common needs.
  • The ability to parse several ISO 8601 standard format dates as described in the Date and Time Formats W3C note.

This component requires a JavaScript (ECMAScript) 1.3 (or better) development environment and has been tested successfully on Internet Explorer 6+, Firefox 1+ and Opera 9+.

Copyright (c) 1996-2013, The Depressed Press (depressedpress.com)
All rights reserved.
Covered under the BSD Open Source License (included in the code). Full legal information here: http://depressedpress.com/about/source-code-policy/