Re: Setting the TimeZone

David Wetzel <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Shiv Kumar wrote:

>         I am asked to change the display of time from GMT to PDT, for which
> I am supposed to change in many places in many file, so thought of instead
> changing it in all the places/files if we could set the time zone of the web
> objects server to PDT, then the creation of the object of NSTimestamp would
> return me PDT time.

I would have a look at

http://developer.apple.com/documentation/WebObjects/Reference/API/com/webobjects/foundation/N
STimestampFormatter.html

see setDefaultParseTimeZone(NSTimeZone zone)

http://developer.apple.com/documentation/WebObjects/Reference/API/com/webobjects/foundation/N
STimeZone.html

see setDefault(java.util.TimeZone)

HTH

Dave

-- 
David Wetzel
+31 638481158
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.