Re: Setting the TimeZone
Shiv Kumar <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <C34C6A28.DFDC%[email protected]> |
Hi All,
Thank you. It works.
Regards,
- Shiv.
On 10/29/07 3:14 PM, "Chuck Hill" <[email protected]> wrote:
> 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.