[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Converting timezone string to GMT difference
From:       John Gluck <jgluckca () rogers ! com>
Date:       2002-01-30 19:04:03
[Download RAW message or body]

Hi

I'm not sure why you would want to convert the time zone string.
In most cases the locale oriented time functions of the the standard libraries
should be used.

The following are some functions you might find useful:
time  (2)
strptime (3)
tzselect (8)
tzset (3)
difftime (3)

John

Stanislav Visnovsky wrote:

> Hi!
>
> Is there a function in kdelibs/qt to convert timezone string (e.g. CET) to
> GMT difference (+0100)? Or should I use ftime() or will %z work? Is
> ftime() or %z portable enough for KDE (e.g. Solaris does not support %z
> AFAIK)?
>
> Thanks for info
>
> Best regards
>
> Stanislav
>
> -----------------------------------------------------------
> Stanislav Visnovsky
> Faculty of Mathematics and Physics
> Charles University, Prague
>
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic