[Glade-users] How I know name of week from GtkCalendar ?

Hariyanto xhonghar at gmail.com
Wed Apr 12 19:37:34 EDT 2006


I get date from GtkCalendar, and I got day, month, year. 

 calen = GTK_CALENDAR(lookup_widget(frm_get_date,"calendar1")); 
  gtk_calendar_get_date(calen,&gyear,&gmonth,&gday);

  str_year = g_strdup_printf("%04i", gyear); 
  str_month = g_strdup_printf("%02i", gmonth+1); 
  str_day = g_strdup_printf("%02i", gday); 

How I can get name of week from Gtk Calendar on that date?

thx 
Hariyanto


More information about the Glade-users mailing list