sam <[EMAIL PROTECTED]> writes:
>
> I'm trying to convert my GTimeVal values (in GTimeval.tv_sec) in a GDate
> struct, or a string like YYYY/MM/DD-HH:MM:SS. I found the g_date_to_struct_tm
> function, wich convert a GDate variable to an struct tm variable, but I need
> the opposed function (tm to GDate).
>
> Any idea ?
I think you can just call g_date_set_time() with the seconds field of
the timeval. I could be wrong.
> ps: is there any GLib mailing list ? My question is maybe not appropriate
> here ...
>
Nope, this is the right list.
Havoc
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list