| To: | REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Timezone |
| From: | Brad Hutchings <brad at ComponentX dot com> |
| Date: | Sun, 30 Dec 2001 00:59:11 -0800 |
Does anyone know off hand how to determine what timezone the current machineyour 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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Timezone, Jerry Hamlet |
|---|---|
| Next by Date: | Re: Timezone, Jerry Hamlet |
| Previous by Thread: | Timezone, Jerry Hamlet |
| Next by Thread: | Re: Timezone, Jerry Hamlet |
| Indexes: | [Date] [Thread] [Top] [All Lists] |