s-news
[Top] [All Lists]

Inconsistent time zone info

To: s-news@lists.biostat.wustl.edu
Subject: Inconsistent time zone info
From: Dennis Fisher <fisher@plessthan.com>
Date: Wed, 14 Jan 2009 14:11:55 -0800
Colleagues

Using Vista and S-Plus 8.0.4, when I am in the GUI:
        options()$time.zone
yields "Pacific" (correct)

When I run from a command line (Splus START --exec sqpe), the same command yields "GMT" (incorrect)

Interestingly, both the GUI and the command line report the time correctly using the command:
        date()
i.e., the command issued at the command line reports TZ as "Pacific".

It appears that date() must obtain its TZ info from somewhere other than options()$time.zone. Can anyone direct me where to look?

Dennis


Dennis Fisher MD
P < (The "P Less Than" Company)
Phone: 1-866-PLessThan (1-866-753-7784)
Fax: 1-415-564-2220
www.PLessThan.com


<Prev in Thread] Current Thread [Next in Thread>
  • Inconsistent time zone info, Dennis Fisher <=