Re: get sys date
- From: "ShiNan" <shinan cn panasonic com>
- To: <srinivas comodo com>, <gtk-app-devel-list gnome org>
- Cc:
- Subject: Re: get sys date
- Date: Thu, 2 Jun 2005 15:07:52 +0800
maybe u can try like this
#include <time.h>
time_t t;
struct tm t_s;
t=time(NULL);
t_s = *localtime(&t);
check t_s.tm_year,
t_s.tm_mon+1,
t_s.tm_mday,
t_s.tm_hour,
t_s.tm_min
and so on.
and what's the type of the widget u want to display?
please show more details
----- Original Message -----
From: "srinivas" <srinivas comodo com>
To: <gtk-app-devel-list gnome org>
Sent: Thursday, June 02, 2005 2:59 PM
Subject: get sys date
hi;
developing gui with glade, c. i want to know the api or
functionality to how to get system date and time, and how to display it
to the particular widget.
thanks;
vasu.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]