Re: Date and Time from glib
- From: Martyn Russell <martyn russell bt com>
- To: "John J. Boyer" <director chpi org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Date and Time from glib
- Date: Mon, 16 Aug 2004 10:52:57 +0100
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]