On Tue, Jun 16, 2009 at 2:15 PM, Peter Marino wrote:
> thank you..
> i'll use the inst value as you recommend.
> but just a note... I did not set the dateFormat so why is it different on
> other machines?
>
My dateText is "06/16/2009". The default dateFormat is "mm/dd/yy" as set
internally by dat
thank you..
i'll use the inst value as you recommend.
but just a note... I did not set the dateFormat so why is it different on
other machines?
another note: the inst.selectedMonth is zero based indexed? is this a bug or
as designed? days and year are not
zero based indexed?
regards,
Peter
On Tu
Hi,
The dateText returned depends on the dateFormat option. So if you specified
a dateFormat="dd/mm/yy" you will have to split by "/".
The onSelect event also returns an instance of the datepicker, so something
like this is probably more accurate:
...
onSelect: function(dateText, inst) {
va