Re: Date and Time from glib



On Mon, 2004-08-16 at 00:28, John J. Boyer wrote:
is there a glib function which will give the date and time as a string 
suitable for use in a printf statement? sure, I know I can look at the 
API's, but if someone on the list gives me an answhr it will save me a 
lot of time.


Perhaps what you are looking for is g_date_strftime().  See the
date/time functions here:

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

-- 
Regards,
Martyn



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