[jQuery] DatePicker (Kelvin Luck)

[jQuery] DatePicker (Kelvin Luck)


I am trying to insert the date picker on a pretty simple search page
but I am getting the following error flagged up by firebug:
(new Date).zeroTime is not a function
setStartDate()()jquery-d...Picker.js (line 588)
init()()jquery-d...Picker.js (line 564)
(?)()()jquery-d...Picker.js (line 247)
nodeName()()jquery-1....1.min.js (line 20)
size()()jquery-1....1.min.js (line 13)
datePicker()()jquery-d...Picker.js (line 228)
(?)()()search-orders.php (line 225)
handleError()()jquery-1....1.min.js (line 27)
handleError()()jquery-1....1.min.js (line 27)
nodeName()([function(), function(), function()], function(),
undefined)jquery-1....1.min.js (line 20)
handleError()()jquery-1....1.min.js (line 27)
[Break on this error] this.startDate = (new Date()).zeroTime();
my code block looks like this:
<!-- add extra required jQuery plugin includes here for page specific
actions -->
<script type="text/javascript" src="<?php echo ("http://" .
$_SERVER['HTTP_HOST']); ?>/assets/js/jquery/jquery-datePicker.js"></
script>
<!-- add page specific scripts here -->
<script type="text/javascript" charset="utf-8">
// <![CDATA[
$(function()
{
        $('.date-pick').datePicker();
});
// ]]>
</script>
and I have downloaded the latest script from the plugins site and I
stumped now as I have no idea why I am getting this error.
Thanks,
Dave Buchholz