Re: Seconds passed since today

Richard Stellingwerff wrote:
What I can not do is:
 c) Convert the GDate to a GTimeVal (set at the beginning of the day).

If I could do the things above, I could:
 - subtract c from a, and be done with it!

Is there a way to do C or is there an easier way to do this?
mktime() ? be aware of tm::is_dst field.


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