Re: [PHP-GTK] weird GtkCalendar problem

[email protected] (Andrei Zmievski)
Newsgroups php.gtk
Message-ID <[email protected]>
At 06:35 PM 7/29/01 -0400, Daniel Adams wrote:
>I have a GtkCalendar in my dialog.  If I clearly date and call
>$cal->get_date (); it month one less than it should be.  For instance, if
>I select october 31, 2001 it returns
>
>Array
>(
>     [0] => 2001
>     [1] => 9
>     [2] => 31
>)
>
>Anyone know how to fix this?

I think months are counted starting from 0. That's how Gtk+ works.

-Andrei
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.