> Is there dateformat function in gtk? I have date dd/mm/yyyy and I want to change to yyyy/yy/dd Mysql format. > thx That would be plain playing void convert(char *dst, const char *src) { dst[0]=src[6]; dst[1]=src[7]; dst[2]=src[8]; dst[3]=src[9]; dst[4]='/'; dst[5]=src[3]; dst[6]=src[4]; dst[7]='/'; dst[8]=src[0]; dst[9]=src[1]; dst[10]=0; } Stian _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list