An addition to the Prototype framework that extends the built-in Date object
pDate is a library built on top of the Prototype framework that extends the
JavaScript built-in Date object. It adds often required functions, making handling dates in
JavaScript easier.
Since pDate is built on top of the Prototype framework it targets the same platforms:
- Microsoft Internet Explorer for Windows, version 6.0 and higher
- Mozilla Firefox 1.5 and higher
- Apple Safari 2.0.4 and higher
- Opera 9.25 and higher
- Chrome 1.0 and higher
To use pDate in your application, download the latest release from the
pDate web site (http://matoilic.ch/libraries/pDate) and copy
dist/pDate.js and vendor/prototype.js to a suitable location. Then
include it in your HTML like so:
<script type="text/javascript" src="/path/to/prototype.js"></script>
<script type="text/javascript" src="/path/to/pDate.js"></script>
Please see the online documentation: http://matoilic.ch/libraries/pDate/doc.