Thanks Brad,
However, I'm looking for a way to make this compatible in OS 8+.
I've got some experience doing declares and such. If you can point me in the
right direction (which toolbox call) I'd appreciate it. Cut down on my
research time.
Thanks again
-jerry
On 12/30/01 12:59 AM, "Brad Hutchings" <brad at ComponentX dot com> wrote:
>> Does anyone know off hand how to determine what timezone the current
>> machine
>> your app is running on is in?
>
> This does not appear to be built in to REALbasic. In a plugin I once
> wrote, I actually had to go visit System specific APIs on Mac OS and
> Windows to figure out the timezone. That gets a little complicated when
> taking daylight savings time into account.
>
> If you're running on Mac OS X, use the shell class and execute the
> "date" command. Try "man date" and "man strftime" from your terminal to
> see how to format it to get what you want, which might just be an offset
> from UTC.
>
> -Brad
> --
> Brad Hutchings
> brad at ComponentX dot com
>
>
> ---
> Subscribe to the digest:
> <mailto:realbasic-nug-digest at lists dot realsoftware dot com>
> Unsubscribe:
> <mailto:realbasic-nug-off at lists dot realsoftware dot com>
>
_____________________________
| Jerry Hamlet |
| Web Designer/Programmer |
| jerry at hamletzone dot com |
|___________________________|
|