On Wed, Jun 15, 2005 at 12:46:21PM +0200, Richard Stellingwerff wrote:
> Is there a way to determine the amount of seconds that has passed
> since today (instead of Epoch)?
Something like
time_t t;
struct tm *tm;
int sec;
time(&t);
tm = localtime(&t);
sec = tm->tm_sec + 60*(tm->tm_min + 60*tm->tm_hour);
?
It doesn't use any GLib time function, but I can't see how
they could simplify it.
Yeti
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list