Re: weird GtkCalendar problem
| From: | Andrei Zmievski | Date: | Sun, 29 Jul 2001 23:00:06 +0000 |
| Subject: | Re: weird GtkCalendar problem | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-2382@lists.php.net to get a copy of this message | ||
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