From: Daniel K. O. <dan...@ya...> - 2006-07-17 05:09:09
|
Now a quick glance at Win32 API shows that it may be easier to just strftime() without the timezone, and append it by hand using something like this: --- TIME_ZONE_INFORMATION info; GetTimeZoneInformation(&info) int bias = - info.Bias; int hh = bias / 60; int mm = bias % 60; // warning: modulus operation with negative numbers is not portable // now append hhmm to the strftime()ed string --- --- Daniel K. O. _______________________________________________________ Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! http://br.mobile.yahoo.com/mailalertas/ |