Re: Setting the TimeZone

Chuck Hill <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
NSTimeZone

setDefaultTimeZone

public static void setDefaultTimeZone(NSTimeZone aTZ)
Changes the time zone provided by getDefault or defaultTimeZone for  
the application. The default time zone is not the same as the  
localTimeZone, which cannot be substituted.



On Oct 29, 2007, at 3:04 PM, Shiv Kumar wrote:

>
>        Wanted to know whether is it possible to set the time-zone  
> of Web
> objects server to say PDT while start up?
>
>        So that creating a object of NSTimestamp will return me the  
> PDT time
> instead of the time of the system/host/machine timestamp on which  
> the web
> objects server is running.
>
>         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 am not sure whether it is possible or not.
>         If it is possible please let me know how to set the time  
> zone on
> start up of the web objects server.
>
>
> Thanks in Advance,
> - Shiv.

-- 

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.
http://www.global-village.net/products/practical_webobjects
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.