Re: date variable under gnome/gtk+

Mayan wrote:

Is there a way to store the 'DATE' in GNOME/GTK+?
I am referring to one like Qt has :)

I am asking because recording the date or the time of a transaction is
very common, so common that most programmers develop their own. I have
my own, but I wrote using C++. Nevertheless, I'd assume that either
GNOME or GTK+ has one built in the library.

Usually people just use the strftime function to create a formatted date. Maybe this is what you are after.

If you are using development glib, there is a g_date_strftime() function for formatting a GDate object.


Email: james daa com au

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