Re: [Vala] Quick question regarding times and dates...



On Tue, 2009-12-22 at 18:43 +1000, Magentus wrote: 
Anyone know what the Vala methods are for converting between time_t
(in GMT) and Date (in local)?

Should be simple, and it probably is.  But I'll be stuffed if I can
find them from the Vala docs...

This has actually been a nightmare for me in the past, there's some code
I think in wizbit's code, http://git.codethink.co.uk/?p=wizbit;a=summary

Check the timeline and the commit store stuff as I think that contains
quite a few bits and bobs relevant to time stuff.

Hope this helps,

K,




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