Hi Michael Madrok has a date class with GMT functionality in his hxttpd server,
http://code.google.com/p/hxttpd/ I don't know if it's much different from altdate but it may help. bd On Thu, 9 Aug 2007 12:56:30 +0400 Michael Pliskin <[EMAIL PROTECTED]> wrote: > Hello QUICKFORM & all, > > thanks a lot for your replies, haxealtdate lib won't help me much > unfortunately as what I need is to generate current time in GMT, so > I need to know the current timezone. But ok for now, will make it > a config parameter, not that bad after all. > > QMB> I know this might be slightly out of context, but check out the > QMB> haxealtdate lib by Madrok, which will handle dates before 1970 > QMB> and after 2038, and also implements time zones. Although this > QMB> doesn't help to retrieve the current system time zone, it's > QMB> certainly an excellent lib. > > QMB> / Marcus > > > QMB> On Aug 8, 2007, at 6:14 PM, Michael Fellinger wrote: > > QMB> On 8/9/07, Nicolas Cannasse <[EMAIL PROTECTED]> wrote: > QMB> Hello list, > > QMB> Is there any way currently to retrieve the current time zone > QMB> from Neko? > > > QMB> Not right now. The main reason is that Date and Time APIs in C > QMB> are a big mess. > > > > QMB> I'm actually working in the same area, which is also why i needed > QMB> Int32 to get contemporary dates after 2003. > QMB> Is there a split of Date into Date and Time and optionally > QMB> DateTime planned? I really would like to be able to handle dates > QMB> before 1970 and after 2038. > QMB> About the timezones, i've experienced some problems here - i'm > QMB> in UTC+9 and sometimes i get weird results. > > QMB> anyway, i know that time is always a hard thing to get right for > QMB> everybody and i don't need that much right now, just some > QMB> thoughts > > QMB> Nicolas > > QMB> -- > QMB> Neko : One VM to run them all > QMB> (http://nekovm.org) > > > > > -- http://www.blackdog-haxe.com/ "It is no measure of health to be well adjusted to a profoundly sick society." --Jiddu Krishnamurti -- http://www.blackdog-haxe.com/ "It is no measure of health to be well adjusted to a profoundly sick society." --Jiddu Krishnamurti -- Neko : One VM to run them all (http://nekovm.org)
