RE: The question about GDateTime



Thanks for your response.

But I try it , the result is the same.

 


From: Yash Kumar Gupta [mailto:ygupta gmail com]
Sent: 2005
126 23:17
To: Qiu, Michael
Cc: gtk-devel-list gnome org
Subject: Re: The question about GDateTime

 

Michael,

 

I am not sure but you can give this a try. API of g_date_set_time() says not to access the elements of GDate directly but instead use the functions like g_date_get_day(), g_date_get_month() etc.

 

Hope this helps!!

Yash

 

On 12/6/05, Qiu, Michael <michael qiu intel com> wrote:

I' ve written an application using g_date_set_time, but I encounter ed a strange issue.

My program is below:

g_date_set_time(&gdate, 112300);

But in IA32, I got the result: gdate.day = 14, gdate.month = 1, gdate.year = 1970

But in IA64, the result is gdate.day = 1 3, gdate.month = 1, gdate.year = 1970

I don' t know why it is.

Best wishes,

IT Flex - SES team

iNet: 8-758-1960


_______________________________________________
gtk-devel-list mailing list
gtk-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

 



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