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

Re: Date and time



On Wed, 2007-10-24 at 11:19 +0200, Olivier Delhomme wrote:
> Hello,
> 
> I'm looking for a function that will return a date and time
> as a gchar * in a format that is made accordingly to the
> user preferences.
> 
> For example 2007/10/24 or  24/10/2007 ...
> 
> Does this exists in glib/gtk ?

sprintf() with %x is probably what you want.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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