Extracting date object from calendar

Extracting date object from calendar


Hey, loving jQuery - just a quick query about Calendar (which, I
assume, has superceded Datepicker?):
Using onSelect, I want to pass the a date object of the selected date
to another function. I've had a poke around the code, but haven't
found anything obvious - I assume Calendar assigns a date object with
the selected date at some point, but that might not be correct.
If not, is there access to the current day/month/year? That way I can
format a string before passing it. It's not ideal, but I'm dealing
with regionalisation issues and it is just easier if I can lock it
down to something I know is consistant.
Any help appreciated.
Hamish