Re: [GTK+-2.0] gtk get date ??



Hi,

Alain D'EURVEILHER <deurveia esiee fr> writes:

> Is it possible to get the current date with gtk functions ?  Is
> there something like gdk_get_time (NULL); which returns the current
> time, but for returning the current date ?

Such functionality doesn't belong into a toolkit. The reason that GDK
has time functions is that they are needed for event handling. But
have a look at glib:

http://developer.gnome.org/doc/API/2.0/glib/glib-Date-and-Time-Functions.html


Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]