Re: Date and time



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 ?
  

It exists in C --- see your C library's manual, such as

http://www.gnu.org/software/libc/manual/html_node/index.html

I'll leave the looking for the exact function as an exercise to the student.

-- 
Marriage is a great institution -- but I'm not ready for an institution yet.
                -- Mae West

Eduardo M KALINOWSKI
ekalin gmail com
http://move.to/hpkb




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